﻿<%@ Page Language="C#" MasterPageFile="~/car-insurance/proposalforms/CarInsuranceProposalMasterPage.master" AutoEventWireup="true" 
CodeFile="rsa_proposal_form.aspx.cs" Inherits="car_insurance_new_proposalforms_rsa_proposal_form" %>

<%@ Register Src="~/controls/usrNoJS.ascx" TagName="usrNoJS" TagPrefix="ucNoJS" %>
<%@ Register Src="~/controls/usrPhoneNo.ascx" TagName="usrPhoneNo" TagPrefix="uc1" %>
<%@ Register Src="~/controls/usrDate.ascx" TagName="usrDate" TagPrefix="uc2" %>
<%@ Register Src="~/controls/usrIdNumber.ascx" TagName="usrIdNumber" TagPrefix="uc3" %>
<%@ Register Src="~/controls/usrNationality.ascx" TagName="usrNationality" TagPrefix="uc4" %>
<%@ Register Src="~/controls/usrCompanyLogoByServices.ascx" TagName="usrCompanyLogoByServices"
    TagPrefix="uc5" %>
<%@ Register Src="~/controls/usrGender.ascx" TagName="usrGender" TagPrefix="uc7" %>
<%@ Register Src="~/controls/usrIdType.ascx" TagName="usrIdType" TagPrefix="uc8" %>
<%@ Register Src="~/controls/usrSalutation.ascx" TagName="usrSalutation" TagPrefix="uc9" %>
<%@ Register Src="~/controls/usrRelationship.ascx" TagName="usrRelationship" TagPrefix="uc10" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
 <script src="../../includes/cx_jquery_post_code.js" type="text/javascript"></script>

    <script src="../../includes/PostCode.js" type="text/javascript"></script>

    <script src="../../controls/CE_Date.js" type="text/javascript"></script>

    <script src="../../controls/IdNumber.js" type="text/javascript"></script>

    <script src="../../includes/LoadingProgress.js" type="text/javascript"></script>


    <div id="container">
    
        <div id="nav_top">
            <div class="left pad_8yr">
                <a href="javascript:history.go(-1)">
                    <img src="/images/forms_proposal/button/back.png" alt="Back" /></a></div>
            <div class="right pad_8yr">
                <img src="/images/forms_proposal/nav/logo_comparexpress.png" alt="CompareXpress" /></div>
        </div>
        
        <ucNoJS:usrNoJS ID="usrNoJS1" runat="server" />
        
        <div id="divLoading">
            <table style="width: 100%; height: 500px">
                <tr>
                    <td align="center" valign="middle">
                        <img src="../../images/loading7.gif" alt="Loading" align="absmiddle" />
                        <span id="divMessage">Please wait...</span><span id="divPgrPercent">0%</span>
                    </td>
                </tr>
            </table>
        </div>
        
        <asp:ScriptManager ID="ScriptManager1" EnablePartialRendering="true" runat="server"></asp:ScriptManager>
        
        <div id="divContent" style="display: none;">
            <div id="contentBody">
                <div id="header">
                    <div class="seperator"></div>
                    <div class="right" style="width: 240px">
                        <div class="quotesum_button">
                            <img src="/images/forms_proposal/button/quotesum.png" width="240" height="73" alt="Quote Summary" /></div>
                    </div>
                    <h1>Online Car Insurance Proposal Form</h1>
                    <div class="seperator"></div>
                    <div class="quotesum">
                        <div class="top"></div>
                        <div id="divQuoteSummery" class="body pad_15x">
                            <!-- QUOTE SUMMARY | Start -->
                            <div class="w26per left pad_25xr">
                                <h1>Selected Insurer</h1>
                                <p><asp:Label ID="lblSelectInsurer" runat="server"></asp:Label></p>
                                <h1>Workshop Plan</h1>
                                <p><asp:Label ID="lblWorkshopPlan" runat="server"></asp:Label></p>
                                <h1>Car Make &amp; Model</h1>
                                <p><asp:Label ID="lblCarMakemodel" runat="server"></asp:Label></p>
                            </div>
                            <div class="w21per left pad_25xr">
                                <h1>Year of Registration</h1>
                                <p><asp:Label ID="lblYrofRegister" runat="server"></asp:Label></p>
                                <h1>Applicable/Renewal NCD</h1>
                                <p><asp:Label ID="lblNCDRenewal" runat="server"></asp:Label><input type="hidden" value="0" id="inputNCD" runat="server" /></p>
                                <h1>Premium</h1>
                                <p><asp:Label ID="lblPremiums" runat="server"></asp:Label></p>
                            </div>
                            <div class="w21per left pad_25xr">
                                <h1>Cover Commencement Date</h1>
                                <p><asp:Label ID="lblCommencementdate" runat="server"></asp:Label></p>
                                <h1>Offpeak Vehicle?</h1>
                                <p><asp:Label ID="lblOffpeakvehile" runat="server"></asp:Label></p>
                                <h1>Offence-Free Driving/COM</h1>
                                <p><asp:Label ID="lblOffenceDriving" runat="server"></asp:Label></p>
                            </div>
                            <div class="w21per left pad_25xr">
                                <h1>&nbsp;</h1>
                                <p>&nbsp;</p>
                                <h1>Quote Reference Number</h1>
                                <p><asp:Label ID="lblQRefNo" runat="server"></asp:Label></p>
                                <div style="display:none">
                                    <h1>Year of Manufacture</h1>
                                    <p><asp:Label ID="lblYrofManufacture" runat="server"></asp:Label></p>
                                    <h1>Current/Existing NCD</h1>
                                    <p><asp:Label ID="lblNCDvalue" runat="server"></asp:Label></p>
                                    <h1>Any Claims in the Last 3 Years?</h1>
                                    <p><asp:Label ID="lblAnyclaim" runat="server"></asp:Label></p>
                                    <h1>Add Additional Name Driver</h1>
                                    <p>
                                        <asp:Label ID="lblAddDriver" runat="server"></asp:Label>
                                        <span style="display: none;">
                                            <asp:TextBox ID="txtDriverCount" runat="server" Text="0"></asp:TextBox>
                                        </span>
                                    </p>
                                </div><input id="inputClaim" value="" runat="server" type="hidden" />
                            </div>
                            <!-- QUOTE SUMMARY | End   -->
                        </div>
                        <div class="bottom"></div>
                    </div>
                </div>
                 <script type="text/javascript">
                     IncreaseProgress(15);
                </script>
                <div class="seperator"></div>
                <div id="body"></div>
                <div id="divValidationSummary">
                    <asp:ValidationSummary ID="vsproposal" runat="server" CssClass="errorSummary" ValidationGroup="proposal"
                        HeaderText="Please complete the form" />
                </div>
                <div class="form">
                    <div class="top">
                        <div class="left">
                            <div class="pad_10t pad_35xl white">
                                Online Car Insurance Proposal Form</div>
                        </div>
                        <div class="right">
                        </div>
                    </div>
                    <div class="body">
                        <div class="inner">
                            <div class="pad_20x10y">
                                <div class="norm">
                                    <div class="top_t">
                                    </div>
                                    <div class="body">
                                        <div class="pad_15x">
                                            <h1>Important Disclaimer</h1>
                                            <p><asp:Label runat="server" ID="lblDisclaimer" Text=""></asp:Label></p>
                                        </div>
                                    </div>
                                    <div class="bottom">
                                    </div>
                                </div>
                                <div class="seperator"></div>
                                <div class="hilite">
                                    <div class="top"></div>
                                    <div class="body_in pad_15x">
                                        <h1>Particulars of Proposer</h1>
                                        <div class="seperator"></div>
                                        <div class="w40per left">
                                            <div id="divSalutation">
                                                <div class="w130 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Salutation:</div>
                                                <div class="left">
                                                    <uc9:usrSalutation ID="ddlSalutation" runat="server" ValidationGroup="proposal" />
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                            <div id="divName">
                                                <div class="w130 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Name as in NRIC/Passport:</div>
                                                <div class="left">
                                                    <asp:TextBox ID="txtName" MaxLength="100" runat="server" size="25"></asp:TextBox>&nbsp;
                                                    <asp:RequiredFieldValidator ID="rfvName" runat="server" CssClass="validationErrorControl"
                                                        ErrorMessage="" ValidationGroup="proposal" ControlToValidate="txtName"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator ID="revName" runat="server" ControlToValidate="txtName"
                                                        ValidationExpression="^[a-zA-Z''-'\s]{1,50}$" ValidationGroup="proposal" CssClass="validationErrorControl"
                                                        Text="" ErrorMessage=""></asp:RegularExpressionValidator>
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                            <div id="divNRICNo">
                                                <div class="w130 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> NRIC/Passport No.:</div>
                                                <div class="left">
                                                    <uc3:usrIdNumber ID="ddlIdNumber" runat="server" ValidationGroup="proposal" />
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                            <div id="divNationality">
                                                <div class="w130 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Nationality:</div>
                                                <div class="left">
                                                    <uc4:usrNationality ID="ddlNationality" runat="server" ErrorMessage="" ValidationGroup="proposal" />
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                        </div>
                                        <div class="w59per left">
                                            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                                <ContentTemplate>
                                                    <div id="divPostCode">
                                                        <div class="w180 left align_right pad_6t pad_7xr">
                                                            <span class="red">*</span> Postcode:</div>
                                                         <asp:TextBox ID="txtPostCode" size="8" onkeypress="restrictToNumbers(event)"
                                                            AutoPostBack="true" OnTextChanged="txtPostCode_TextChanged" runat="server" class="text"
                                                            MaxLength="6"></asp:TextBox>
                                                        <asp:UpdateProgress runat="server" ID="uplUpProgress" DisplayAfter="1000">
                                                            <ProgressTemplate>
                                                                <span>Loading...</span>
                                                            </ProgressTemplate>
                                                        </asp:UpdateProgress>
                                                        <asp:ImageButton ID="btnPostCode" Visible="false" Width="108" Height="28" ValidationGroup="PostCode"
                                                            runat="server" ImageUrl="~/images/forms_proposal/button/getaddress.png" OnClientClick="this.disabled=true;" />
                                                        <asp:RequiredFieldValidator ID="rfvPCode" runat="server" CssClass="validationErrorControl"
                                                            Display="Dynamic" ErrorMessage="" ValidationGroup="PostCode" ControlToValidate="txtPostCode"></asp:RequiredFieldValidator>
                                                        <asp:RegularExpressionValidator ID="revPCode" runat="server" CssClass="validationErrorControl"
                                                            Display="Dynamic" ErrorMessage="" ValidationGroup="PostCode" ValidationExpression="[0-9]{6}"
                                                            ControlToValidate="txtPostCode"></asp:RegularExpressionValidator> 
                                                        <asp:RequiredFieldValidator ID="rfvPostCode" runat="server" CssClass="validationErrorControl"
                                                            Display="Dynamic" ErrorMessage="" ValidationGroup="proposal" ControlToValidate="txtPostCode"></asp:RequiredFieldValidator>
                                                        <asp:RegularExpressionValidator ID="revPostCode" runat="server" CssClass="validationErrorControl"
                                                            Display="Dynamic" ErrorMessage="" ValidationGroup="proposal" ValidationExpression="[0-9]{6}"
                                                            ControlToValidate="txtPostCode"></asp:RegularExpressionValidator>
                                                    </div>
                                                    <div runat="server" visible="false" id="divAddressList">
                                                        <div class="h10"></div>
                                                        <div class="w180 left align_right pad_6t pad_7xr">
                                                            Please choose your address
                                                        </div>                                                        
                                                        <asp:DropDownList ID="ddlAddressList" AutoPostBack="true" runat="server" OnSelectedIndexChanged="ddlAddressList_SelectedIndexChanged">
                                                        </asp:DropDownList>                                                        
                                                        <div class="clear"></div>
                                                    </div>
                                                </ContentTemplate>
                                            </asp:UpdatePanel>
                                            <div class="h10"></div>
                                            <div id="divUnitNo">
                                                <div class="w180 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Unit Number:</div>
                                                <asp:TextBox ID="txtUnit1" runat="server" size="8"></asp:TextBox>-
                                                <asp:RequiredFieldValidator ID="rfvUnit1" runat="server" CssClass="validationErrorControl"
                                                    ErrorMessage="" ValidationGroup="proposal" ControlToValidate="txtUnit1"></asp:RequiredFieldValidator>
                                                <asp:TextBox ID="txtUnit2" runat="server" size="8"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="rfvUnit2" runat="server" CssClass="validationErrorControl"
                                                    ErrorMessage="" ValidationGroup="proposal" ControlToValidate="txtUnit2"></asp:RequiredFieldValidator>
                                            </div>
                                            <div class="h10"></div>
                                            <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                                                <ContentTemplate>
                                                    <div id="divPCAddress">
                                                        <div class="w180 left align_right pad_6t pad_7xr">
                                                        <span class="red">*</span> Address:</div>
                                                        <span id="divAddress"></span>
                                                        <asp:TextBox ID="txtAddress" runat="server" TextMode="MultiLine" MaxLength="120"
                                                            Width="200px"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="rfvAddress" runat="server" CssClass="validationErrorControl"
                                                            ErrorMessage="" ValidationGroup="proposal" ControlToValidate="txtAddress"></asp:RequiredFieldValidator>
                                                    </div>
                                                </ContentTemplate>
                                            </asp:UpdatePanel>
                                            <div class="h10"></div>
                                        </div>
                                        <div class="clear"></div>
                                        <div class="h10"></div>
                                        <div style="border: 1px solid #ccc;  width: 912px; background: #d2d2d2;">
                                            <div class="h10"></div>
                                            <div class="w130 left align_right pad_6t pad_7xr">
                                                Contact Info:</div>
                                            <div id="divContactNo" class="w190 note left">
                                                <span class="red">*</span> Mobile Number<br />
                                                <uc1:usrPhoneNo ID="txtMobileNo" IsEnabled="true" IsRequired="true" PhoneNoRequireErrorMessage="Require mobile number."
                                                    PhoneNoErrorMessage="Mobile phone number should 8 digits." PhoneNoValidErrorMessage="Invalid mobile phone number."
                                                    runat="server" ValidationGroup="proposal" />
                                            </div>
                                            <div id="divAResidentPhoneNo" class="w190 note left">
                                                Residental Number<br />
                                                <uc1:usrPhoneNo ID="txtResidentialPhoneNo" runat="server" ValidationGroup="proposal" IsRequired="False" />
                                            </div>
                                            <div id="divAOfficeNo" class="w190 note left">
                                                Office Number<br />
                                                <uc1:usrPhoneNo ID="txtOfficePhoneNo" runat="server" ValidationGroup="proposal" IsRequired="False" />
                                            </div>
                                            <div id="divFaxNo" class="w190 note left">
                                                Fax Number<br />
                                                <uc1:usrPhoneNo ID="txtFaxNo" runat="server" ValidationGroup="proposal" IsRequired="False" />
                                            </div>
                                            <div class="h10"></div>
                                        </div>
                                        <div class="clear"></div>
                                        <div class="h10"></div> 
                                        <div style="border: 1px solid #ccc;  width: 912px; background: #d2d2d2;">
                                            <div class="h10"></div>
                                            <div class="w130 left align_right pad_6t pad_7xr">
                                                Driving Info:</div>
                                            <div id="divExperience" class="w190 note left">
                                                <span class="red">*</span> Driving Experience<br />
                                                <asp:DropDownList ID="ddlExperienceYear" runat="server" Width="40px"></asp:DropDownList>(Year)&nbsp;
                                                <asp:DropDownList ID="ddlExperienceMonth" runat="server" Width="40px">
                                                    <asp:ListItem Selected="True" Text="0">0</asp:ListItem>
                                                    <asp:ListItem Text="1">1</asp:ListItem>
                                                    <asp:ListItem Text="2">2</asp:ListItem>
                                                    <asp:ListItem Text="3">3</asp:ListItem>
                                                    <asp:ListItem Text="4">4</asp:ListItem>
                                                    <asp:ListItem Text="5"></asp:ListItem>
                                                    <asp:ListItem Text="6">6</asp:ListItem>
                                                    <asp:ListItem Text="7">7</asp:ListItem>
                                                    <asp:ListItem Text="8">8</asp:ListItem>
                                                    <asp:ListItem Text="9">9</asp:ListItem>
                                                    <asp:ListItem Text="10">10</asp:ListItem>
                                                    <asp:ListItem Text="11">11</asp:ListItem>
                                                </asp:DropDownList>(Month)
                                            </div>
                                            <div id="divLicenceNo" class="w190 note left">
                                                <span class="red">*</span> Driving Licence No.<br />
                                                <asp:TextBox ID="txtDrivingLicenceNo" runat="server" MaxLength="50"></asp:TextBox>
                                                <asp:RequiredFieldValidator
                                                    ID="rfvDrivingLicenceNo" ControlToValidate="txtDrivingLicenceNo" ErrorMessage="" ValidationGroup="proposal"
                                                    CssClass="validationErrorControl" runat="server"></asp:RequiredFieldValidator>
                                            </div>
                                            <div id="divClass" class="w190 note left">
                                                <span class="red">*</span> Class<br />
                                                <asp:TextBox ID="txtDrivingClass" runat="server" MaxLength="50"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="rfvDrivingClass" ControlToValidate="txtDrivingClass" ErrorMessage="" ValidationGroup="proposal"
                                                    CssClass="validationErrorControl" runat="server"></asp:RequiredFieldValidator>
                                            </div>
                                            <div id="divYearObtained" class="w190 note left">
                                               <span class="red">*</span>  Year Obtained<br />
                                                <asp:DropDownList ID="ddlYearObtained" runat="server"></asp:DropDownList>
                                                <asp:RequiredFieldValidator ID="rfvYearObtained" ControlToValidate="ddlYearObtained" InitialValue="-1"
                                                    CssClass="validationErrorControl" ErrorMessage="" ValidationGroup="proposal"
                                                    runat="server"></asp:RequiredFieldValidator>
                                            </div>
                                            <div class="h10"></div>
                                        </div>
                                    </div>
                                    <div class="bottom"></div>
                                </div>
                                <div class="seperator"></div>
                                <script type="text/javascript">
                                     IncreaseProgress(30);
                                </script>
                                <asp:Panel ID="pnlDriverDetails" runat="server" Width="100%">
                                    <div class="hilite">
                                        <div class="top"></div>
                                        <div class="body_in pad_15x">  
                                            <div  id="divDrivers">
                                                 <h1>Driver Details</h1>
                                            </div>                                            
                                            <asp:Panel ID="pnlDriver1" runat="server" Width="100%">
                                                <div class="seperator"></div>
                                                <div>
                                                    <h3><asp:Label ID="lblDriverNo1" runat="server" Text="Driver No: 1"></asp:Label>
                                                        <asp:Label ID="lblDriverId1" Visible="false" runat="server"></asp:Label></h3>
                                                    <div class="h10"></div>
                                                    <div class="w43per left">
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                Driver DOB/Gender:</div>
                                                            <div class="left pad_6t">
                                                                <asp:Label ID="lblDriverDOB1" runat="server"></asp:Label>&nbsp;&nbsp;
                                                                <asp:Label ID="lblDriverGender1" runat="server"></asp:Label>
                                                            </div>
                                                        </div>
                                                        <div class="h10"></div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Name:</div>
                                                            <div class="left">
                                                                <asp:TextBox ID="txtDriverName1" runat="server" MaxLength="50"
                                                                    Width="200px"></asp:TextBox>
                                                                <asp:RequiredFieldValidator CssClass="validationErrorControl" ID="rfvDriverName1"
                                                                    ValidationGroup="proposal" runat="server" ControlToValidate="txtDriverName1"
                                                                    ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="h10"></div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Relationship to Proposer:</div>
                                                            <div class="left">
                                                                <uc10:usrRelationship ID="ddlDriverRelation1" runat="server" ErrorMessage="" ValidationGroup="proposal" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="w56per left">
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                Driving Experience:</div>
                                                            <div class="left">
                                                                <asp:DropDownList ID="ddlDriverExperienceYear1" runat="server" Width="40px"></asp:DropDownList>(Year)&nbsp;
                                                                <asp:DropDownList ID="ddlDriverExperienceMonth1" runat="server" Width="40px">
                                                                    <asp:ListItem Selected="True" Text="0">0</asp:ListItem>
                                                                    <asp:ListItem Text="1">1</asp:ListItem>
                                                                    <asp:ListItem Text="2">2</asp:ListItem>
                                                                    <asp:ListItem Text="3">3</asp:ListItem>
                                                                    <asp:ListItem Text="4">4</asp:ListItem>
                                                                    <asp:ListItem Text="5"></asp:ListItem>
                                                                    <asp:ListItem Text="6">6</asp:ListItem>
                                                                    <asp:ListItem Text="7">7</asp:ListItem>
                                                                    <asp:ListItem Text="8">8</asp:ListItem>
                                                                    <asp:ListItem Text="9">9</asp:ListItem>
                                                                    <asp:ListItem Text="10">10</asp:ListItem>
                                                                    <asp:ListItem Text="11">11</asp:ListItem>
                                                                </asp:DropDownList>(Month)
                                                            </div>
                                                        </div>
                                                        <div class="h10"></div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Driving Licence Class:</div>
                                                            <div class="left">
                                                                <asp:TextBox ID="txtDriverDrivingClass1" runat="server" MaxLength="50"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="rfvDriverDrivingClass1" ControlToValidate="txtDriverDrivingClass1" ErrorMessage="" ValidationGroup="proposal"
                                                                    CssClass="validationErrorControl" runat="server"></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="h10"></div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Driving Licence Year Obtained:</div>
                                                            <div class="left">
                                                                <asp:DropDownList ID="ddlDriverYearObtained1" runat="server"></asp:DropDownList>
                                                                <asp:RequiredFieldValidator ID="rfvDriverYearObtained1" ControlToValidate="ddlDriverYearObtained1" InitialValue="-1"
                                                                    CssClass="validationErrorControl" ErrorMessage="" ValidationGroup="proposal"
                                                                    runat="server"></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="clear"></div>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                            <asp:Panel ID="pnlDriver2" runat="server" Width="100%">
                                                <div class="seperator"></div>
                                                <div>
                                                    <h3><asp:Label ID="lblDriverNo2" runat="server" Text="Driver No: 2"></asp:Label>
                                                        <asp:Label ID="lblDriverId2" Visible="false" runat="server"></asp:Label></h3>
                                                    <div class="h10"></div>
                                                    <div class="w43per left">
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                Driver DOB/Gender:</div>
                                                            <div class="left pad_6t">
                                                                <asp:Label ID="lblDriverDOB2" runat="server"></asp:Label>&nbsp;&nbsp;
                                                                <asp:Label ID="lblDriverGender2" runat="server"></asp:Label>
                                                            </div>
                                                        </div>
                                                        <div class="h10"></div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Name:</div>
                                                            <div class="left">
                                                                <asp:TextBox ID="txtDriverName2" runat="server" MaxLength="50"
                                                                    Width="200px"></asp:TextBox>
                                                                <asp:RequiredFieldValidator CssClass="validationErrorControl" ID="rfvDriverName2"
                                                                    ValidationGroup="proposal" runat="server" ControlToValidate="txtDriverName2"
                                                                    ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="h10"></div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Relationship to Proposer:</div>
                                                            <div class="left">
                                                                <uc10:usrRelationship ID="ddlDriverRelation2" runat="server" ErrorMessage="" ValidationGroup="proposal" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="w56per left">
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                Driving Experience:</div>
                                                            <div class="left">
                                                                <asp:DropDownList ID="ddlDriverExperienceYear2" runat="server" Width="40px"></asp:DropDownList>(Year)&nbsp;
                                                                <asp:DropDownList ID="ddlDriverExperienceMonth2" runat="server" Width="40px">
                                                                    <asp:ListItem Selected="True" Text="0">0</asp:ListItem>
                                                                    <asp:ListItem Text="1">1</asp:ListItem>
                                                                    <asp:ListItem Text="2">2</asp:ListItem>
                                                                    <asp:ListItem Text="3">3</asp:ListItem>
                                                                    <asp:ListItem Text="4">4</asp:ListItem>
                                                                    <asp:ListItem Text="5"></asp:ListItem>
                                                                    <asp:ListItem Text="6">6</asp:ListItem>
                                                                    <asp:ListItem Text="7">7</asp:ListItem>
                                                                    <asp:ListItem Text="8">8</asp:ListItem>
                                                                    <asp:ListItem Text="9">9</asp:ListItem>
                                                                    <asp:ListItem Text="10">10</asp:ListItem>
                                                                    <asp:ListItem Text="11">11</asp:ListItem>
                                                                </asp:DropDownList>(Month)
                                                            </div>
                                                        </div>
                                                        <div class="h10"></div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Driving Licence Class:</div>
                                                            <div class="left">
                                                                <asp:TextBox ID="txtDriverDrivingClass2" runat="server" MaxLength="50"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="rfvDriverDrivingClass2" ControlToValidate="txtDriverDrivingClass2" ErrorMessage="" ValidationGroup="proposal"
                                                                    CssClass="validationErrorControl" runat="server"></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="h10"></div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Driving Licence Year Obtained:</div>
                                                            <div class="left">
                                                                <asp:DropDownList ID="ddlDriverYearObtained2" runat="server"></asp:DropDownList>
                                                                <asp:RequiredFieldValidator ID="rfvDriverYearObtained2" ControlToValidate="ddlDriverYearObtained2" InitialValue="-1"
                                                                    CssClass="validationErrorControl" ErrorMessage="" ValidationGroup="proposal"
                                                                    runat="server"></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="clear"></div>
                                                    </div>
                                                </div>
                                            </asp:Panel>  
                                            <asp:Panel ID="pnlDriver3" runat="server" Width="100%">
                                                <div class="seperator"></div>
                                                <div>
                                                    <h3><asp:Label ID="lblDriverNo3" runat="server" Text="Driver No: 3"></asp:Label>
                                                        <asp:Label ID="lblDriverId3" Visible="false" runat="server"></asp:Label></h3>
                                                    <div class="h10"></div>
                                                    <div class="w43per left">
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                Driver DOB/Gender:</div>
                                                            <div class="left pad_6t">
                                                                <asp:Label ID="lblDriverDOB3" runat="server"></asp:Label>&nbsp;&nbsp;
                                                                <asp:Label ID="lblDriverGender3" runat="server"></asp:Label>
                                                            </div>
                                                        </div>
                                                        <div class="h10"></div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Name:</div>
                                                            <div class="left">
                                                                <asp:TextBox ID="txtDriverName3" runat="server" MaxLength="50"
                                                                    Width="200px"></asp:TextBox>
                                                                <asp:RequiredFieldValidator CssClass="validationErrorControl" ID="rfvDriverName3"
                                                                    ValidationGroup="proposal" runat="server" ControlToValidate="txtDriverName3"
                                                                    ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="h10"></div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Relationship to Proposer:</div>
                                                            <div class="left">
                                                                <uc10:usrRelationship ID="ddlDriverRelation3" runat="server" ErrorMessage="" ValidationGroup="proposal" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="w56per left">
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                Driving Experience:</div>
                                                            <div class="left">
                                                                <asp:DropDownList ID="ddlDriverExperienceYear3" runat="server" Width="40px"></asp:DropDownList>(Year)&nbsp;
                                                                <asp:DropDownList ID="ddlDriverExperienceMonth3" runat="server" Width="40px">
                                                                    <asp:ListItem Selected="True" Text="0">0</asp:ListItem>
                                                                    <asp:ListItem Text="1">1</asp:ListItem>
                                                                    <asp:ListItem Text="2">2</asp:ListItem>
                                                                    <asp:ListItem Text="3">3</asp:ListItem>
                                                                    <asp:ListItem Text="4">4</asp:ListItem>
                                                                    <asp:ListItem Text="5"></asp:ListItem>
                                                                    <asp:ListItem Text="6">6</asp:ListItem>
                                                                    <asp:ListItem Text="7">7</asp:ListItem>
                                                                    <asp:ListItem Text="8">8</asp:ListItem>
                                                                    <asp:ListItem Text="9">9</asp:ListItem>
                                                                    <asp:ListItem Text="10">10</asp:ListItem>
                                                                    <asp:ListItem Text="11">11</asp:ListItem>
                                                                </asp:DropDownList>(Month)
                                                            </div>
                                                        </div>
                                                        <div class="h10"></div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Driving Licence Class:</div>
                                                            <div class="left">
                                                                <asp:TextBox ID="txtDriverDrivingClass3" runat="server" MaxLength="50"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="rfvDriverDrivingClass3" ControlToValidate="txtDriverDrivingClass3" ErrorMessage="" ValidationGroup="proposal"
                                                                    CssClass="validationErrorControl" runat="server"></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="h10"></div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Driving Licence Year Obtained:</div>
                                                            <div class="left">
                                                                <asp:DropDownList ID="ddlDriverYearObtained3" runat="server"></asp:DropDownList>
                                                                <asp:RequiredFieldValidator ID="rfvDriverYearObtained3" ControlToValidate="ddlDriverYearObtained3" InitialValue="-1"
                                                                    CssClass="validationErrorControl" ErrorMessage="" ValidationGroup="proposal"
                                                                    runat="server"></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="clear"></div>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                            <asp:Panel ID="pnlDriver4" runat="server" Width="100%">
                                                <div class="seperator"></div>
                                                <div>
                                                    <h3><asp:Label ID="lblDriverNo4" runat="server" Text="Driver No: 4"></asp:Label>
                                                        <asp:Label ID="lblDriverId4" Visible="false" runat="server"></asp:Label></h3>
                                                    <div class="h10"></div>
                                                    <div class="w43per left">
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                Driver DOB/Gender:</div>
                                                            <div class="left pad_6t">
                                                                <asp:Label ID="lblDriverDOB4" runat="server"></asp:Label>&nbsp;&nbsp;
                                                                <asp:Label ID="lblDriverGender4" runat="server"></asp:Label>
                                                            </div>
                                                        </div>
                                                        <div class="h10"></div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Name:</div>
                                                            <div class="left">
                                                                <asp:TextBox ID="txtDriverName4" runat="server" MaxLength="50"
                                                                    Width="200px"></asp:TextBox>
                                                                <asp:RequiredFieldValidator CssClass="validationErrorControl" ID="rfvDriverName4"
                                                                    ValidationGroup="proposal" runat="server" ControlToValidate="txtDriverName4"
                                                                    ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="h10"></div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Relationship to Proposer:</div>
                                                            <div class="left">
                                                                <uc10:usrRelationship ID="ddlDriverRelation4" runat="server" ErrorMessage="" ValidationGroup="proposal" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="w56per left">
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                Driving Experience:</div>
                                                            <div class="left">
                                                                <asp:DropDownList ID="ddlDriverExperienceYear4" runat="server" Width="40px"></asp:DropDownList>(Year)&nbsp;
                                                                <asp:DropDownList ID="ddlDriverExperienceMonth4" runat="server" Width="40px">
                                                                    <asp:ListItem Selected="True" Text="0">0</asp:ListItem>
                                                                    <asp:ListItem Text="1">1</asp:ListItem>
                                                                    <asp:ListItem Text="2">2</asp:ListItem>
                                                                    <asp:ListItem Text="3">3</asp:ListItem>
                                                                    <asp:ListItem Text="4">4</asp:ListItem>
                                                                    <asp:ListItem Text="5"></asp:ListItem>
                                                                    <asp:ListItem Text="6">6</asp:ListItem>
                                                                    <asp:ListItem Text="7">7</asp:ListItem>
                                                                    <asp:ListItem Text="8">8</asp:ListItem>
                                                                    <asp:ListItem Text="9">9</asp:ListItem>
                                                                    <asp:ListItem Text="10">10</asp:ListItem>
                                                                    <asp:ListItem Text="11">11</asp:ListItem>
                                                                </asp:DropDownList>(Month)
                                                            </div>
                                                        </div>
                                                        <div class="h10"></div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Driving Licence Class:</div>
                                                            <div class="left">
                                                                <asp:TextBox ID="txtDriverDrivingClass4" runat="server" MaxLength="50"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="rfvDriverDrivingClass4" ControlToValidate="txtDriverDrivingClass4" ErrorMessage="" ValidationGroup="proposal"
                                                                    CssClass="validationErrorControl" runat="server"></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="h10"></div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Driving Licence Year Obtained:</div>
                                                            <div class="left">
                                                                <asp:DropDownList ID="ddlDriverYearObtained4" runat="server"></asp:DropDownList>
                                                                <asp:RequiredFieldValidator ID="rfvDriverYearObtained4" ControlToValidate="ddlDriverYearObtained4" InitialValue="-1"
                                                                    CssClass="validationErrorControl" ErrorMessage="" ValidationGroup="proposal"
                                                                    runat="server"></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="clear"></div>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                            <asp:Panel ID="pnlDriver5" runat="server" Width="100%">
                                                <div class="seperator"></div>
                                                <div>
                                                    <h3><asp:Label ID="lblDriverNo5" runat="server" Text="Driver No: 5"></asp:Label>
                                                        <asp:Label ID="lblDriverId5" Visible="false" runat="server"></asp:Label></h3>
                                                    <div class="h10"></div>
                                                    <div class="w43per left">
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                Driver DOB/Gender:</div>
                                                            <div class="left pad_6t">
                                                                <asp:Label ID="lblDriverDOB5" runat="server"></asp:Label>&nbsp;&nbsp;
                                                                <asp:Label ID="lblDriverGender5" runat="server"></asp:Label>
                                                            </div>
                                                        </div>
                                                        <div class="h10"></div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Name:</div>
                                                            <div class="left">
                                                                <asp:TextBox ID="txtDriverName5" runat="server" MaxLength="50"
                                                                    Width="200px"></asp:TextBox>
                                                                <asp:RequiredFieldValidator CssClass="validationErrorControl" ID="rfvDriverName5"
                                                                    ValidationGroup="proposal" runat="server" ControlToValidate="txtDriverName5"
                                                                    ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="h10"></div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Relationship to Proposer:</div>
                                                            <div class="left">
                                                                <uc10:usrRelationship ID="ddlDriverRelation5" runat="server" ErrorMessage="" ValidationGroup="proposal" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="w56per left">
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                Driving Experience:</div>
                                                            <div class="left">
                                                                <asp:DropDownList ID="ddlDriverExperienceYear5" runat="server" Width="40px"></asp:DropDownList>(Year)&nbsp;
                                                                <asp:DropDownList ID="ddlDriverExperienceMonth5" runat="server" Width="40px">
                                                                    <asp:ListItem Selected="True" Text="0">0</asp:ListItem>
                                                                    <asp:ListItem Text="1">1</asp:ListItem>
                                                                    <asp:ListItem Text="2">2</asp:ListItem>
                                                                    <asp:ListItem Text="3">3</asp:ListItem>
                                                                    <asp:ListItem Text="4">4</asp:ListItem>
                                                                    <asp:ListItem Text="5"></asp:ListItem>
                                                                    <asp:ListItem Text="6">6</asp:ListItem>
                                                                    <asp:ListItem Text="7">7</asp:ListItem>
                                                                    <asp:ListItem Text="8">8</asp:ListItem>
                                                                    <asp:ListItem Text="9">9</asp:ListItem>
                                                                    <asp:ListItem Text="10">10</asp:ListItem>
                                                                    <asp:ListItem Text="11">11</asp:ListItem>
                                                                </asp:DropDownList>(Month)
                                                            </div>
                                                        </div>
                                                        <div class="h10"></div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Driving Licence Class:</div>
                                                            <div class="left">
                                                                <asp:TextBox ID="txtDriverDrivingClass5" runat="server" MaxLength="50"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="rfvDriverDrivingClass5" ControlToValidate="txtDriverDrivingClass5" ErrorMessage="" ValidationGroup="proposal"
                                                                    CssClass="validationErrorControl" runat="server"></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="h10"></div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Driving Licence Year Obtained:</div>
                                                            <div class="left">
                                                                <asp:DropDownList ID="ddlDriverYearObtained5" runat="server"></asp:DropDownList>
                                                                <asp:RequiredFieldValidator ID="rfvDriverYearObtained5" ControlToValidate="ddlDriverYearObtained5" InitialValue="-1"
                                                                    CssClass="validationErrorControl" ErrorMessage="" ValidationGroup="proposal"
                                                                    runat="server"></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="clear"></div>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                        </div>
                                        <div class="bottom"></div>
                                    </div>
                                    <div class="seperator"></div>
                                </asp:Panel>
                                <script type="text/javascript">
                                    IncreaseProgress(45);
                                </script>
                                <div class="seperator"></div>
                                <div class="hilite" id="divParticularsofCarHeader">
                                    <div class="top"></div>
                                    <div class="body_in pad_15x" id="divParticularsofCar">  
                                        <div>
                                             <h1>Particulars of the Car</h1>
                                        </div>
                                        <div class="seperator"></div>
                                        <div class="w43per left">
                                            <div id="divVehiclestatus">
                                                <div class="w180 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Vehicle Used or New?:</div>
                                                <div class="left pad_10yr">
                                                    <span id="divNew">
                                                        <asp:RadioButton onclick="ValVehicleStatus();CheckVehicleStatusValidationCss();"
                                                            ID="rdoNew" runat="server" GroupName="vehiclestatus" />
                                                        <asp:Label ID="lblNew" class="pad_10xr" runat="server" Text="New"></asp:Label>
                                                    </span>
                                                    <span id="divUsed">
                                                        <asp:RadioButton onclick="ValVehicleStatus();CheckVehicleStatusValidationCss();"
                                                            ID="rdoUsed" runat="server" GroupName="vehiclestatus" />
                                                        <asp:Label ID="lblUsed" runat="server" Text="Used"></asp:Label>
                                                    </span>
                                                    <div style="display: none">
                                                        <asp:TextBox ID="txtVehicleStatus" runat="server"></asp:TextBox></div>
                                                    <asp:RequiredFieldValidator ID="rfvVehicleStatus" runat="server" CssClass="validationErrorControl"
                                                        Display="Dynamic" ErrorMessage="" ControlToValidate="txtVehicleStatus" ValidationGroup="proposal"
                                                        Text=""></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                            <div id="divVehicleNo">
                                                <div class="w180 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Vehicle Registration No:</div>
                                                <div class="left">
                                                    <asp:TextBox ID="txtVehicleNo" runat="server" MaxLength="10"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfvVehicleNo" runat="server" CssClass="validationErrorControl" ErrorMessage=""
                                                        ValidationGroup="proposal" ControlToValidate="txtVehicleNo" Display="Dynamic"></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                            <div id="divEngineNo">
                                                <div class="w180 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Engine No:</div>
                                                <div class="left">
                                                    <asp:TextBox ID="txtEngineNo" MaxLength="30" runat="server" Width="180px"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfvEngineNo" runat="server" CssClass="validationErrorControl"
                                                        ErrorMessage="" ValidationGroup="proposal" ControlToValidate="txtEngineNo"></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                            <div id="divChassisNo">
                                                <div class="w180 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Chassis No:</div>
                                                <div class="left">
                                                    <asp:TextBox ID="txtChassisNo" MaxLength="30" runat="server" Width="180px"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfvChassisNo" runat="server" CssClass="validationErrorControl"
                                                        ErrorMessage="" ValidationGroup="proposal" ControlToValidate="txtChassisNo"></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                            <div id="divVehicleTransmission">
                                                <div class="w180 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Vehicle Transmission:</div>
                                                <div class="left">
                                                    <asp:DropDownList ID="ddlVehicleTransmission" runat="server">
                                                        <asp:ListItem Value="-1">Select</asp:ListItem>
                                                        <asp:ListItem Value="1">Petrol</asp:ListItem>
                                                        <asp:ListItem Value="2">Diesel</asp:ListItem>
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator ID="rfvVehicleTransmission" ControlToValidate="ddlVehicleTransmission"
                                                            CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                            Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                            <div id="divPropellant">
                                                <div class="w180 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Vehicle Propellant:</div>
                                                <div class="left">
                                                    <asp:DropDownList ID="ddlVehiclePropellant" runat="server">
                                                        <asp:ListItem Value="-1">Select</asp:ListItem>
                                                        <asp:ListItem Value="1">Propellant1</asp:ListItem>
                                                        <asp:ListItem Value="2">Propellant2</asp:ListItem>
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator ID="rfvVehiclePropellant" ControlToValidate="ddlVehiclePropellant"
                                                            CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                            Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                            <div id="divVehicleSumInsured">
                                                <div class="w180 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Vehicle Sum Insured (Cap?):</div>
                                                <div class="left">
                                                    <asp:TextBox ID="txtVehicleSumInsured" MaxLength="12" runat="server" Width="90px"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfvVehicleSumInsured" runat="server" CssClass="validationErrorControl"
                                                        ErrorMessage="" ValidationGroup="proposal" ControlToValidate="txtVehicleSumInsured"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator CssClass="validationErrorControl" ID="revVehicleSumInsured" ErrorMessage="" runat="server"  
                                                        ControlToValidate="txtVehicleSumInsured" ValidationGroup="proposal" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$" ></asp:RegularExpressionValidator> 
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                            <div id="divClaimDetails" style="display:">
                                                <div id="divClaimODAmount">
                                                    <div class="w180 left align_right pad_6t pad_7xr">
                                                        <span class="red">*</span> Claim OD Amount:</div>
                                                    <div class="left">
                                                        <asp:TextBox ID="txtClaimODAmount" MaxLength="12" runat="server" Width="90px"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="rfvClaimODAmount" runat="server" CssClass="validationErrorControl"
                                                            ErrorMessage="" ValidationGroup="proposal" ControlToValidate="txtClaimODAmount"></asp:RequiredFieldValidator>
                                                        <asp:RegularExpressionValidator CssClass="validationErrorControl" ID="revClaimODAmount" ErrorMessage="" runat="server"  
                                                            ControlToValidate="txtClaimODAmount" ValidationGroup="proposal" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$" ></asp:RegularExpressionValidator> 
                                                    </div>
                                                </div>
                                                <div class="h10"></div>
                                                <div id="divClaimTPPDAmount">
                                                    <div class="w180 left align_right pad_6t pad_7xr">
                                                        <span class="red">*</span> Claim TPPD Amount:</div>
                                                    <div class="left">
                                                        <asp:TextBox ID="txtClaimTPPDAmount" MaxLength="12" runat="server" Width="90px"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="rfvClaimTPPDAmount" runat="server" CssClass="validationErrorControl"
                                                            ErrorMessage="" ValidationGroup="proposal" ControlToValidate="txtClaimTPPDAmount"></asp:RequiredFieldValidator>
                                                        <asp:RegularExpressionValidator CssClass="validationErrorControl" ID="revClaimTPPDAmount" ErrorMessage="" runat="server"  
                                                            ControlToValidate="txtClaimTPPDAmount" ValidationGroup="proposal" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$" ></asp:RegularExpressionValidator> 
                                                    </div>
                                                </div>
                                                <div class="h10"></div>
                                            </div>
                                            <div id="divPolicyRDCOptedstatus">
                                                <div class="w180 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Policy RDC Opted:</div>
                                                <div class="left pad_10yr">
                                                    <span id="divYesPolicyRDCOpted">
                                                        <asp:RadioButton onclick="ValPolicyRDCOpted();CheckPolicyRDCOptedValidationCss();"
                                                            ID="rdoYesPolicyRDCOpted" runat="server" GroupName="policyrdcopted" />
                                                        <asp:Label ID="lblYesPolicyRDCOpted" class="pad_10xr" runat="server" Text="Yes"></asp:Label>
                                                    </span>
                                                    <span id="divNoPolicyRDCOpted">
                                                        <asp:RadioButton onclick="ValPolicyRDCOpted();CheckPolicyRDCOptedValidationCss();"
                                                            ID="rdoNoPolicyRDCOpted" runat="server" GroupName="policyrdcopted" />
                                                        <asp:Label ID="lblNoPolicyRDCOpted" runat="server" Text="No"></asp:Label>
                                                    </span>
                                                    <div style="display: none">
                                                        <asp:TextBox ID="txtPolicyRDCOpted" runat="server"></asp:TextBox></div>
                                                    <asp:RequiredFieldValidator ID="rfvPolicyRDCOpted" runat="server" CssClass="validationErrorControl"
                                                        Display="Dynamic" ErrorMessage="" ControlToValidate="txtPolicyRDCOpted" ValidationGroup="proposal"
                                                        Text=""></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                            <div id="divAccessories">
                                                <div class="w180 left align_right pad_6t pad_7xr">
                                                    Accessories (otherthan factory fitted):</div>
                                                <div class="left pad_10yr">
                                                    <asp:CheckBox ID="chkAircon" runat="server" class="pad_7xr" />Air Con<br />
                                                    <asp:CheckBox ID="chkRadio" runat="server" class="pad_7xr" />Radio/Cassette/CD Player<br />
                                                    <asp:CheckBox ID="chkSports" runat="server" class="pad_7xr" />Sports Rims<br />
                                                    <asp:CheckBox ID="chkSunroof" runat="server" class="pad_7xr" />Sun Roof<br />
                                                    <asp:CheckBox ID="chkMoonroof" runat="server" class="pad_7xr" />Moon Roof<br />
                                                </div>
                                            </div>                                                
                                            <div class="h10"></div>
                                            <div id="divOtherAccessories">
                                                <div class="w180 left align_right pad_6t pad_7xr">
                                                    Others (Pls specify):</div>
                                                <div class="left">
                                                    <asp:TextBox runat="server" ID="txtOtherAccessories" MaxLength="250" Width="200px"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="w56per left">
                                            <div id="divHirePurchasestatus">
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Any hire purchase to your motor vehicle?:</div>
                                                <div class="left pad_10yr">
                                                    <span id="divYesHirePurchase">
                                                        <asp:RadioButton onclick="ShowHideDiv('divHirePurchase',true);ValHirePurchase(true);CheckHirePurchaseValidationCss();"
                                                            ID="rdoYesHirePurchase" runat="server" GroupName="hirepurchase" />
                                                        <asp:Label ID="lblYesHirePurchase" class="pad_10xr" runat="server" Text="Yes"></asp:Label>
                                                    </span>
                                                    <span id="divNoHirePurchase">
                                                        <asp:RadioButton onclick="ShowHideDiv('divHirePurchase',false);ValHirePurchase(false);CheckHirePurchaseValidationCss();"
                                                            ID="rdoNoHirePurchase" runat="server" GroupName="hirepurchase" />
                                                        <asp:Label ID="lblNoHirePurchase" runat="server" Text="No"></asp:Label>
                                                    </span>
                                                    <div style="display: none">
                                                        <asp:TextBox ID="txtHirePurchase" runat="server"></asp:TextBox></div>
                                                    <asp:RequiredFieldValidator ID="rfvHirePurchase" runat="server" CssClass="validationErrorControl"
                                                        Display="Dynamic" ErrorMessage="" ControlToValidate="txtHirePurchase" ValidationGroup="proposal"
                                                        Text=""></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div id="divHirePurchase" style="display: ;">
                                                <div id="divHirePurchaseCompany">
                                                    <div class="h10"></div>
                                                    <div class="w220 left align_right pad_6t pad_7xr">
                                                        <span class="red">*</span> Name of the Hire Purchase/Finance Co.:</div>
                                                    <div class="left">
                                                        <asp:DropDownList ID="ddlHirePurchaseCompany" Width="270px" runat="server"></asp:DropDownList>
                                                        <asp:RequiredFieldValidator ID="rfvHirePurchaseCompany" ControlToValidate="ddlHirePurchaseCompany"
                                                            CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                            Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                            <div id="divDrivingWestMalaysiastatus">
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Do you drive your car to West Malaysia?:</div>
                                                <div class="left pad_10yr">
                                                    <span id="divYesDrivingWestMalaysia">
                                                        <asp:RadioButton onclick="ShowHideDiv('divDrivingWestMalaysia',true);ValDrivingWestMalaysia(true);CheckDrivingWestMalaysiaValidationCss();"
                                                            ID="rdoYesDrivingWestMalaysia" runat="server" GroupName="existinginsurer" />
                                                        <asp:Label ID="lblYesDrivingWestMalaysia" class="pad_10xr" runat="server" Text="Yes"></asp:Label>
                                                    </span>
                                                    <span id="divNoDrivingWestMalaysia">
                                                        <asp:RadioButton onclick="ShowHideDiv('divDrivingWestMalaysia',false);ValDrivingWestMalaysia(false);CheckDrivingWestMalaysiaValidationCss();"
                                                            ID="rdoNoDrivingWestMalaysia" runat="server" GroupName="existinginsurer" />
                                                        <asp:Label ID="lblNoDrivingWestMalaysia" runat="server" Text="No"></asp:Label>
                                                    </span>
                                                    <div style="display: none">
                                                        <asp:TextBox ID="txtDrivingWestMalaysia" runat="server"></asp:TextBox></div>
                                                    <asp:RequiredFieldValidator ID="rfvDrivingWestMalaysia" runat="server" CssClass="validationErrorControl"
                                                        Display="Dynamic" ErrorMessage="" ControlToValidate="txtDrivingWestMalaysia" ValidationGroup="proposal"
                                                        Text=""></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div id="divDrivingWestMalaysia" style="display: ;">
                                                <div id="divHowoften">
                                                    <div class="h10"></div>
                                                    <div class="w220 left align_right pad_6t pad_7xr">
                                                        <span class="red">*</span> How often?:</div>
                                                    <div class="left">
                                                        <asp:DropDownList Width="200px" ID="ddlDrivetowestmalaysia" runat="server">
                                                            <asp:ListItem Value="-1">Select</asp:ListItem>
                                                            <asp:ListItem Value="Weekly">Weekly</asp:ListItem>
                                                            <asp:ListItem Value="Monthly">Monthly</asp:ListItem>
                                                            <asp:ListItem Value="Less than monthly">Less than monthly</asp:ListItem>
                                                        </asp:DropDownList>
                                                        <asp:RequiredFieldValidator ID="rfvDrivetowestmalaysia" ControlToValidate="ddlDrivetowestmalaysia"
                                                        CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                        Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                            <div id="divVechicleModificationStatus">
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Has the vehicle been modified/altered from the original manufacturer's specifications?:</div>
                                                <div class="left pad_10yr">
                                                    <span id="divYesVechicleModification">
                                                        <asp:RadioButton onclick="ShowHideDiv('divVechicleModification',true);ValVechicleModification(true);CheckVechicleModificationValidationCss();"
                                                            ID="rdoYesVechicleModification" runat="server" GroupName="vechiclemodification" />
                                                        <asp:Label ID="lblYesVechicleModification" class="pad_10xr" runat="server" Text="Yes"></asp:Label>
                                                    </span>
                                                    <span id="divNoVechicleModification">
                                                        <asp:RadioButton onclick="ShowHideDiv('divVechicleModification',false);ValVechicleModification(false);CheckVechicleModificationValidationCss();"
                                                            ID="rdoNoVechicleModification" runat="server" GroupName="vechiclemodification" />
                                                        <asp:Label ID="lblNoVechicleModification" runat="server" Text="No"></asp:Label>
                                                    </span>
                                                    <div style="display: none">
                                                        <asp:TextBox ID="txtVechicleModification" runat="server"></asp:TextBox></div>
                                                    <asp:RequiredFieldValidator ID="rfvVechicleModification" runat="server" CssClass="validationErrorControl"
                                                        Display="Dynamic" ErrorMessage="" ControlToValidate="txtVechicleModification"
                                                        ValidationGroup="proposal" Text=""></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div style="display: " id="divVechicleModification">
                                                <div class="h10"></div>
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Please give complete details:</div>
                                                <div class="left" id="divVMPleasespecify">
                                                    <asp:TextBox ID="txtVMReason" runat="server" Width="270px" MaxLength="250" Rows="2" TextMode="MultiLine"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfvVMReason" ControlToValidate="txtVMReason" ErrorMessage=""
                                                        ValidationGroup="proposal" CssClass="validationErrorControl" runat="server"></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                            <div id="divMarketvaluestatus">
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Please indicate your choice to cover Market value:</div>
                                                <div class="left pad_10yr">
                                                    <span id="divYesCOE">
                                                        <asp:RadioButton onclick="ValMarketvalue();CheckMarketvalueValidationCss();"
                                                            ID="rdoYesCOE" runat="server" GroupName="marketvalue" />
                                                        <asp:Label ID="lblYesCOE" class="pad_10xr" runat="server" Text="With COE/PARF"></asp:Label>
                                                    </span>
                                                    <span id="divNoCOE">
                                                        <asp:RadioButton onclick="ValMarketvalue();CheckMarketvalueValidationCss();"
                                                            ID="rdoNoCOE" runat="server" GroupName="marketvalue" />
                                                        <asp:Label ID="lblNoCOE" runat="server" Text="Without COE/PARF"></asp:Label>
                                                    </span>
                                                    <div style="display: none">
                                                        <asp:TextBox ID="txtMarketvalue" runat="server"></asp:TextBox></div>
                                                    <asp:RequiredFieldValidator ID="rfvMarketvalue" runat="server" CssClass="validationErrorControl"
                                                        Display="Dynamic" ErrorMessage="" ControlToValidate="txtMarketvalue" ValidationGroup="proposal"
                                                        Text=""></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                            <div>
                                                Extensions Required (Additional Premium involved).
                                            </div>
                                            <div class="h10"></div>
                                            <div id="divCarRentalExtensionstatus">
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Car Rental Extension:</div>
                                                <div class="left pad_10yr">
                                                    <span id="divYesCarRentalExtension">
                                                        <asp:RadioButton onclick="SetPremiumValue();ValCarRentalExtension();CheckCarRentalExtensionValidationCss();"
                                                            ID="rdoYesCarRentalExtension" runat="server" GroupName="carrentalextension" />
                                                        <asp:Label ID="lblYesCarRentalExtension" class="pad_10xr" runat="server" Text="Yes"></asp:Label>
                                                    </span>
                                                       <span id="divNoCarRentalExtension">
                                                        <asp:RadioButton onclick="SetPremiumValue();ValCarRentalExtension();CheckCarRentalExtensionValidationCss();"
                                                            ID="rdoNoCarRentalExtension" runat="server" GroupName="carrentalextension" />
                                                        <asp:Label ID="lblNoCarRentalExtension" runat="server" Text="No"></asp:Label>
                                                    </span>
                                                    <div style="display: none">
                                                        <asp:TextBox ID="txtCarRentalExtension" runat="server"></asp:TextBox></div>
                                                    <asp:RequiredFieldValidator ID="rfvCarRentalExtension" runat="server" CssClass="validationErrorControl"
                                                        Display="Dynamic" ErrorMessage="" ControlToValidate="txtCarRentalExtension" ValidationGroup="proposal"
                                                        Text=""></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div id="divNCDProtectorstatus" style="display:">
                                                <div class="h10"></div>
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> NCD Protector:</div>
                                                <div class="left pad_10yr">
                                                    <span id="divYesNCDProtector">
                                                        <asp:RadioButton onclick="SetPremiumValue();ValNCDProtector(true);CheckNCDProtectorValidationCss();"
                                                            ID="rdoYesNCDProtector" runat="server" GroupName="ncdprotector" />
                                                        <asp:Label ID="lblYesNCDProtector" class="pad_10xr" runat="server" Text="Yes"></asp:Label>
                                                    </span>
                                                    <span id="divNoNCDProtector">
                                                        <asp:RadioButton onclick="SetPremiumValue();ValNCDProtector(false);CheckNCDProtectorValidationCss();"
                                                            ID="rdoNoNCDProtector" runat="server" GroupName="ncdprotector" />
                                                        <asp:Label ID="lblNoNCDProtector" runat="server" Text="No"></asp:Label>
                                                    </span>
                                                    <div style="display: none">
                                                        <asp:TextBox ID="txtNCDProtector" runat="server"></asp:TextBox></div>
                                                    <asp:RequiredFieldValidator ID="rfvNCDProtector" runat="server" CssClass="validationErrorControl"
                                                        Display="Dynamic" ErrorMessage="" ControlToValidate="txtNCDProtector" ValidationGroup="proposal"
                                                        Text=""></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div id="divPremiumRates" style="display:">
                                                <div>
                                                    <div class="h10"></div>
                                                    <div class="w220 left align_right pad_6t pad_7xr">
                                                        Existing Premium Amount:</div>
                                                    <div class="left pad_10yr" id="div3">
                                                        <asp:Label ID="lblExistingPremium" runat="server"></asp:Label>
                                                    </div>
                                                </div>
                                                <div id="divPremium1" style="display:">
                                                    <div class="h10"></div>
                                                    <div class="w220 left align_right pad_6t pad_7xr">
                                                        New Premium Amount:</div>
                                                    <div class="left pad_10yr" id="div4">
                                                        <asp:Label ID="lblNewPremium1" runat="server"></asp:Label>
                                                    </div>
                                                </div>
                                                <div id="divPremium2" style="display:">
                                                    <div class="h10"></div>
                                                    <div class="w220 left align_right pad_6t pad_7xr">
                                                         New Premium Amount:</div>
                                                    <div class="left pad_10yr" id="div2">
                                                        <asp:Label ID="lblNewPremium2" runat="server"></asp:Label>
                                                    </div>
                                                </div>
                                                <div id="divPremium3" style="display:">
                                                    <div class="h10"></div>
                                                    <div class="w220 left align_right pad_6t pad_7xr">
                                                        New Premium Amount:</div>
                                                    <div class="left pad_10yr" id="div6">
                                                        <asp:Label ID="lblNewPremium3" runat="server"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                            <div id="divDealerWorkshopExtensionstatus">
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Dealer's Workshop Extension:</div>
                                                <div class="left pad_10yr">
                                                    <span id="divYesDealerWorkshopExtension">
                                                        <asp:RadioButton onclick="ValDealerWorkshopExtension();CheckDealerWorkshopExtensionValidationCss();"
                                                            ID="rdoYesDealerWorkshopExtension" runat="server" GroupName="dealerworkshopextension" />
                                                        <asp:Label ID="lblYesDealerWorkshopExtension" class="pad_10xr" runat="server" Text="Yes"></asp:Label>
                                                    </span>
                                                    <span id="divNoDealerWorkshopExtension">
                                                        <asp:RadioButton onclick="ValDealerWorkshopExtension();CheckDealerWorkshopExtensionValidationCss();"
                                                            ID="rdoNoDealerWorkshopExtension" runat="server" GroupName="dealerworkshopextension" />
                                                        <asp:Label ID="lblNoDealerWorkshopExtension" runat="server" Text="No"></asp:Label>
                                                    </span>
                                                    <div style="display: none">
                                                        <asp:TextBox ID="txtDealerWorkshopExtension" runat="server"></asp:TextBox></div>
                                                    <asp:RequiredFieldValidator ID="rfvDealerWorkshopExtension" runat="server" CssClass="validationErrorControl"
                                                        Display="Dynamic" ErrorMessage="" ControlToValidate="txtDealerWorkshopExtension" ValidationGroup="proposal"
                                                        Text=""></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                            <div id="divSunRoofExtensionstatus">
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Sun Roof Extension:</div>
                                                <div class="left pad_10yr">
                                                    <span id="divYesSunRoofExtension">
                                                        <asp:RadioButton onclick="ShowHideDiv('divSunroofExtension',true);ValSunRoofExtension(true);CheckSunRoofExtensionValidationCss();"
                                                            ID="rdoYesSunRoofExtension" runat="server" GroupName="sunroofextension" />
                                                        <asp:Label ID="lblYesSunRoofExtension" class="pad_10xr" runat="server" Text="Yes"></asp:Label>
                                                    </span>
                                                    <span id="divNoSunRoofExtension">
                                                        <asp:RadioButton onclick="ShowHideDiv('divSunroofExtension',false);ValSunRoofExtension(false);CheckSunRoofExtensionValidationCss();"
                                                            ID="rdoNoSunRoofExtension" runat="server" GroupName="sunroofextension" />
                                                        <asp:Label ID="lblNoSunRoofExtension" runat="server" Text="No"></asp:Label>
                                                    </span>
                                                    <div style="display: none">
                                                        <asp:TextBox ID="txtSunRoofExtension" runat="server"></asp:TextBox></div>
                                                    <asp:RequiredFieldValidator ID="rfvSunRoofExtension" runat="server" CssClass="validationErrorControl"
                                                        Display="Dynamic" ErrorMessage="" ControlToValidate="txtSunRoofExtension" ValidationGroup="proposal"
                                                        Text=""></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div style="display: " id="divSunroofExtension">
                                                <div class="h10"></div>
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Sunroof Extension Amount:</div>
                                                <div class="left" id="divSRAmt">
                                                    <asp:TextBox ID="txtSunroofExtenAmt" runat="server" MaxLength="10"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfvSunroofExtenAmt" runat="server" CssClass="validationErrorControl" ErrorMessage=""
                                                        ValidationGroup="proposal" ControlToValidate="txtSunroofExtenAmt" Display="Dynamic" Enabled="false"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator CssClass="validationErrorControl" ID="revSunroofExtenAmt"
                                                        runat="server" ControlToValidate="txtSunroofExtenAmt" ErrorMessage=""
                                                        ValidationGroup="proposal" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$" Display="Dynamic"
                                                        SetFocusOnError="False" Enabled="false"></asp:RegularExpressionValidator>
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                            <div id="divMoonRoofExtensionstatus">
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Moon Roof Extension:</div>
                                                <div class="left pad_10yr">
                                                    <span id="divYesMoonRoofExtension">
                                                        <asp:RadioButton onclick="ShowHideDiv('divMoonroofExtension',true);ValMoonRoofExtension(true);CheckMoonRoofExtensionValidationCss();"
                                                            ID="rdoYesMoonRoofExtension" runat="server" GroupName="moonroofextension" />
                                                        <asp:Label ID="lblYesMoonRoofExtension" class="pad_10xr" runat="server" Text="Yes"></asp:Label>
                                                    </span>
                                                    <span id="divNoMoonRoofExtension">
                                                        <asp:RadioButton onclick="ShowHideDiv('divMoonroofExtension',false);ValMoonRoofExtension(false);CheckMoonRoofExtensionValidationCss();"
                                                            ID="rdoNoMoonRoofExtension" runat="server" GroupName="moonroofextension" />
                                                        <asp:Label ID="lblNoMoonRoofExtension" runat="server" Text="No"></asp:Label>
                                                    </span>
                                                    <div style="display: none">
                                                        <asp:TextBox ID="txtMoonRoofExtension" runat="server"></asp:TextBox></div>
                                                    <asp:RequiredFieldValidator ID="rfvMoonRoofExtension" runat="server" CssClass="validationErrorControl"
                                                        Display="Dynamic" ErrorMessage="" ControlToValidate="txtMoonRoofExtension" ValidationGroup="proposal"
                                                        Text=""></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div style="display: " id="divMoonroofExtension">
                                                <div class="h10"></div>
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Moonroof Extension Amount:</div>
                                                <div class="left" id="divMRAmt">
                                                    <asp:TextBox ID="txtMoonroofExtenAmt" runat="server" MaxLength="10"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfvMoonroofExtenAmt" runat="server" CssClass="validationErrorControl" ErrorMessage=""
                                                        ValidationGroup="proposal" ControlToValidate="txtMoonroofExtenAmt" Display="Dynamic" Enabled="false"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator CssClass="validationErrorControl" ID="revMoonroofExtenAmt"
                                                        runat="server" ControlToValidate="txtMoonroofExtenAmt" ErrorMessage=""
                                                        ValidationGroup="proposal" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$" Display="Dynamic"
                                                        SetFocusOnError="False" Enabled="false"></asp:RegularExpressionValidator>
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                            <div id="divOtherExtension">
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    Others (Pls specify):</div>
                                                <div class="left">
                                                    <asp:TextBox runat="server" ID="txtOtherExtension" MaxLength="250" Width="270px"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="clear"></div>
                                        </div>
                                    </div>
                                    <div class="bottom"></div>
                                </div>
                                <div class="seperator"></div>
                                <script type="text/javascript">
                                    IncreaseProgress(70);
                                </script>
                                <div class="twoclmn" id="divGeneralQuestionHeader">
                                    <div class="top"></div>
                                    <div class="body pad_15x" id="divGeneralQuestion">
                                        <h1>General Questions</h1>
                                        <div class="seperator"></div>
                                        <div class="mar_10by">
                                            <div class="w650 left align_right pad_10xr">
                                                (If your answer to question (2) is "Yes", please give full details on a separate piece of paper).
                                            </div>
                                            <div class="w220 left pad_20_10x">
                                                &nbsp;
                                            </div>
                                        </div>
                                        <div class="h7"></div>
                                        <div class="mar_10by" id="divPurposeofusestatus">
                                            <div class="w650 left align_right pad_10xr">
                                                <span class="red">*</span> (1) Is the car used only for social, domestic and pleasure purposesand your business or profession?
                                            </div>
                                            <div class="w220 left pad_20_10x">
                                                <span id="divYesPurposeofuse">
                                                    <asp:RadioButton onclick="ValPurposeofuse();CheckPurposeofuseValidationCss();"
                                                        ID="rdoYesPurposeofuse" runat="server" GroupName="purposeofuse" />
                                                    <asp:Label ID="lblYesPurposeofuse" class="pad_10xr" runat="server" Text="Yes"></asp:Label>
                                                </span>
                                                <span id="divNoPurposeofuse">
                                                    <asp:RadioButton onclick="ValPurposeofuse();CheckPurposeofuseValidationCss();"
                                                        ID="rdoNoPurposeofuse" runat="server" GroupName="purposeofuse" />
                                                    <asp:Label ID="lblNoPurposeofuse" runat="server" Text="No"></asp:Label>
                                                </span>
                                                <div style="display: none">
                                                    <asp:TextBox ID="txtPurposeofuse" runat="server"></asp:TextBox></div>
                                                <asp:RequiredFieldValidator ID="rfvPurposeofuse" runat="server" CssClass="validationErrorControl"
                                                    Display="Dynamic" ErrorMessage="" ControlToValidate="txtPurposeofuse" ValidationGroup="proposal"
                                                    Text=""></asp:RequiredFieldValidator>
                                            </div>
                                        </div>
                                        <div class="h7"></div>
                                        <div class="mar_10by">
                                            <div class="w650 left align_right pad_10xr">
                                                (2) Have you or any drivers stated in this proposal form:
                                            </div>
                                            <div class="w220 left pad_20_10x">
                                                &nbsp;
                                            </div>
                                        </div>
                                        <div class="h7"></div>
                                        <div class="mar_10by" id="divPhysicalinfirmStatus">
                                            <div class="w650 left align_right pad_10xr">
                                                <span class="red">*</span> (a)Any physical or mental infirmity or defective hearing or vision (other than defective vision which can be 
                                                    corrected by spectacles or contact lens)?
                                            </div>
                                            <div class="w220 left pad_20_10x">
                                                <span id="divYesPhysicalinfirm">
                                                    <asp:RadioButton onclick="ShowHideDiv('divPhysicalinfirm',true);ValPhysicalinfirm(true);CheckPhysicalinfirmValidationCss();"
                                                        ID="rdoYesPhysicalinfirm" runat="server" GroupName="physicalinfirm" />
                                                    <asp:Label ID="lblYesPhysicalinfirm" class="pad_10xr" runat="server" Text="Yes"></asp:Label>
                                                </span>
                                                <span id="divNoPhysicalinfirm">
                                                    <asp:RadioButton onclick="ShowHideDiv('divPhysicalinfirm',false);ValPhysicalinfirm(false);CheckPhysicalinfirmValidationCss();"
                                                        ID="rdoNoPhysicalinfirm" runat="server" GroupName="physicalinfirm" />
                                                    <asp:Label  ID="lblNoPhysicalinfirm" runat="server" Text="No"></asp:Label>
                                                </span>
                                               <div style="display: none">
                                                    <asp:TextBox ID="txtPhysicalinfirm" runat="server"></asp:TextBox></div>
                                                <asp:RequiredFieldValidator ID="rfvPhysicalinfirm" runat="server" CssClass="validationErrorControl"
                                                    Display="Dynamic" ErrorMessage="" ControlToValidate="txtPhysicalinfirm"
                                                    ValidationGroup="proposal" Text=""></asp:RequiredFieldValidator>
                                                <div  style="display: " id="divPhysicalinfirm">
                                                    <div>
                                                        <div class="h7"></div>
                                                        <span class="red">*</span> Please give complete details<br />
                                                        <div id="divPIPleasespecify">
                                                            <asp:TextBox ID="txtPIReason" runat="server" MaxLength="50"  Rows="2" TextMode="MultiLine" size="25"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfvPIReason" ControlToValidate="txtPIReason" ErrorMessage=""
                                                                ValidationGroup="proposal" CssClass="validationErrorControl" runat="server"></asp:RequiredFieldValidator>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="h7"></div>
                                        <div class="mar_10by" id="divAccidentStatus">
                                            <div class="w650 left align_right pad_10xr">
                                                <span class="red">*</span> (b)Been involved in any accident in the last 3 years?
                                            </div>
                                            <div class="w220 left pad_20_10x">
                                                <span id="divYesAccident">
                                                    <asp:RadioButton onclick="ShowHideDiv('divAccident',true);ValAccident(true);CheckAccidentValidationCss();"
                                                        ID="rdoYesAccident" runat="server" GroupName="accident" />
                                                    <asp:Label ID="lblYesAccident" class="pad_10xr" runat="server" Text="Yes"></asp:Label>
                                                </span>
                                                <span id="divNoAccident">
                                                    <asp:RadioButton onclick="ShowHideDiv('divAccident',false);ValAccident(false);CheckAccidentValidationCss();"
                                                        ID="rdoNoAccident" runat="server" GroupName="accident" />
                                                    <asp:Label ID="lblNoAccident" runat="server" Text="No"></asp:Label>
                                                </span>
                                                <div style="display: none">
                                                    <asp:TextBox ID="txtAccident" runat="server"></asp:TextBox></div>
                                                <asp:RequiredFieldValidator ID="rfvAccident" runat="server" CssClass="validationErrorControl"
                                                    Display="Dynamic" ErrorMessage="" ControlToValidate="txtAccident"
                                                    ValidationGroup="proposal" Text=""></asp:RequiredFieldValidator>
                                                <div style="display: " id="divAccident">
                                                    <div>
                                                        <div class="h7"></div>
                                                        <span class="red">*</span> Please give complete details<br />
                                                        <div id="divAIPleasespecify">
                                                            <asp:TextBox ID="txtAIReason" runat="server" MaxLength="50"  Rows="2" TextMode="MultiLine" size="25"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfvAIReason" ControlToValidate="txtAIReason" ErrorMessage=""
                                                                ValidationGroup="proposal" CssClass="validationErrorControl" runat="server"></asp:RequiredFieldValidator>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="h7"></div>
                                        <div class="mar_10by" id="divTrafficStatus">
                                            <div class="w650 left align_right pad_10xr">
                                                <span class="red">*</span> (c)Any traffic convictions (apart from parking fines) in the last 3 years?
                                            </div>
                                            <div class="w220 left pad_20_10x">
                                                <span id="divYesTraffic">
                                                    <asp:RadioButton onclick="ShowHideDiv('divTraffic',true);ValTraffic(true);CheckTrafficValidationCss();"
                                                        ID="rdoYesTraffic" runat="server" GroupName="traffic" />
                                                    <asp:Label ID="lblYesTraffic" class="pad_10xr" runat="server" Text="Yes"></asp:Label>
                                                </span>
                                                <span id="divNoTraffic">
                                                    <asp:RadioButton onclick="ShowHideDiv('divTraffic',false);ValTraffic(false);CheckTrafficValidationCss();"
                                                        ID="rdoNoTraffic" runat="server" GroupName="traffic" />
                                                    <asp:Label ID="lblNoTraffic" runat="server" Text="No"></asp:Label>
                                                </span>
                                                <div style="display: none">
                                                    <asp:TextBox ID="txtTraffic" runat="server"></asp:TextBox></div>
                                                <asp:RequiredFieldValidator ID="rfvTraffic" runat="server" CssClass="validationErrorControl"
                                                    Display="Dynamic" ErrorMessage="" ControlToValidate="txtTraffic"
                                                    ValidationGroup="proposal" Text=""></asp:RequiredFieldValidator>
                                                <div style="display: " id="divTraffic">
                                                    <div>
                                                        <div class="h7"></div>
                                                        <span class="red">*</span> Please give complete details<br />
                                                        <div id="divTCPleasespecify">
                                                            <asp:TextBox ID="txtTCReason" runat="server" MaxLength="50"  Rows="2" TextMode="MultiLine" size="25"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfvTCReason" ControlToValidate="txtTCReason" ErrorMessage=""
                                                                ValidationGroup="proposal" CssClass="validationErrorControl" runat="server"></asp:RequiredFieldValidator>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="h7"></div>
                                        <div class="mar_10by" id="divInsuranceterminatedStatus">
                                            <div class="w650 left align_right pad_10xr">
                                                <span class="red">*</span> (d) Had any motor insurance application declined, cancelled or renewal rejected by any insurance company?
                                            </div>
                                            <div class="w220 left pad_20_10x">
                                                <span id="divYesInsuranceterminated">
                                                    <asp:RadioButton onclick="ShowHideDiv('divInsuranceterminated',true);ValInsuranceterminated(true);CheckInsuranceterminatedValidationCss();"
                                                        ID="rdoYesInsuranceterminated" runat="server" GroupName="insuranceterminated" />
                                                    <asp:Label ID="lblYesInsuranceterminated" class="pad_10xr" runat="server" Text="Yes"></asp:Label>
                                                </span>
                                                <span id="divNoInsuranceterminated">
                                                    <asp:RadioButton onclick="ShowHideDiv('divInsuranceterminated',false);ValInsuranceterminated(false);CheckInsuranceterminatedValidationCss();"
                                                        ID="rdoNoInsuranceterminated" runat="server" GroupName="insuranceterminated" />
                                                    <asp:Label ID="lblNoInsuranceterminated" runat="server" Text="No"></asp:Label>
                                                </span>
                                                <div style="display: none">
                                                    <asp:TextBox ID="txtInsuranceterminated" runat="server"></asp:TextBox></div>
                                                <asp:RequiredFieldValidator ID="rfvInsuranceterminated" runat="server" CssClass="validationErrorControl"
                                                    ErrorMessage="" ControlToValidate="txtInsuranceterminated" ValidationGroup="proposal"
                                                    Text=""></asp:RequiredFieldValidator>
                                                <div style="display: " id="divInsuranceterminated">
                                                    <div>
                                                        <div class="h7"></div>
                                                        <span class="red">*</span> Please specify<br />
                                                        <div id="divITPleasespecify">
                                                            <asp:TextBox ID="txtITReason" runat="server" MaxLength="50"  Rows="2" TextMode="MultiLine" size="25"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfvITReason"
                                                                ControlToValidate="txtITReason" ErrorMessage="" ValidationGroup="proposal" CssClass="validationErrorControl"
                                                                runat="server"></asp:RequiredFieldValidator>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="h7"></div>
                                        <div class="mar_10by" id="divDermeritPointsStatus">
                                            <div class="w650 left align_right pad_10xr">
                                                <span class="red">*</span> (e) Been given/accumulated demerit points during the last 24 months?
                                            </div>
                                            <div class="w220 left pad_20_10x">
                                                <span id="divYesDermeritPoints">
                                                    <asp:RadioButton onclick="ShowHideDiv('divDermeritPoints',true);ValDermeritPoints(true);CheckDermeritPointsValidationCss();"
                                                        ID="rdoYesDermeritPoints" runat="server" GroupName="dermeritpoints" />
                                                    <asp:Label ID="lblYesDermeritPoints" class="pad_10xr" runat="server" Text="Yes"></asp:Label>
                                                </span>
                                                <span id="divNoDermeritPoints">
                                                    <asp:RadioButton onclick="ShowHideDiv('divDermeritPoints',false);ValDermeritPoints(false);CheckDermeritPointsValidationCss();"
                                                        ID="rdoNoDermeritPoints" runat="server" GroupName="dermeritpoints" />
                                                    <asp:Label ID="lblNoDermeritPoints" runat="server" Text="No"></asp:Label>
                                                </span>
                                                <div style="display: none">
                                                    <asp:TextBox ID="txtDermeritPoints" runat="server"></asp:TextBox></div>
                                                <asp:RequiredFieldValidator ID="rfvDermeritPoints" runat="server" CssClass="validationErrorControl"
                                                    Display="Dynamic" ErrorMessage="" ControlToValidate="txtDermeritPoints" ValidationGroup="proposal"
                                                    Text=""></asp:RequiredFieldValidator>
                                            </div>
                                        </div>
                                        <div style="display: " class="mar_10by" id="divDermeritPoints">
                                            <div class="h7"></div>
                                            <div class="w650 left align_right pad_10xr">
                                                <table cellpadding="0" cellspacing="0">
                                                    <tr>
                                                        <td>
                                                            Driver
                                                        </td>
                                                        <td>
                                                            Total Demerit Points
                                                        </td>
                                                        <td>
                                                            Date
                                                        </td>
                                                        <td>
                                                            Type of Offence
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <asp:TextBox ID="txtDemeritDrivername1" runat="server" MaxLength="50"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfvDemeritDrivername1" runat="server" CssClass="validationErrorControl"
                                                                Display="Dynamic" ErrorMessage="" ControlToValidate="txtDemeritDrivername1" ValidationGroup="proposal"
                                                                Text=""></asp:RequiredFieldValidator>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtTotalpoints1" runat="server" MaxLength="2"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfvTotalpoints1" runat="server" CssClass="validationErrorControl"
                                                                Display="Dynamic" ErrorMessage="" ControlToValidate="txtTotalpoints1" ValidationGroup="proposal"
                                                                Text=""></asp:RequiredFieldValidator>
                                                        </td>
                                                        <td>
                                                            <uc2:usrDate ID="ddlDODemerit1" ErrorMessage="" runat="server" ValidationGroup="proposal">
                                                            </uc2:usrDate>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtOffencetype1" runat="server" MaxLength="100"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfvOffencetype1" runat="server" CssClass="validationErrorControl"
                                                                Display="Dynamic" ErrorMessage="" ControlToValidate="txtOffencetype1" ValidationGroup="proposal"
                                                                Text=""></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <asp:TextBox ID="txtDemeritDrivername2" runat="server" MaxLength="50" onblur="CheckDriver2Validation();"></asp:TextBox>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtTotalpoints2" runat="server" MaxLength="2"></asp:TextBox>
                                                        </td>
                                                        <td>
                                                            <uc2:usrDate ID="ddlDODemerit2" ErrorMessage="" runat="server" ValidationGroup="proposal">
                                                            </uc2:usrDate>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtOffencetype2" runat="server" MaxLength="100"></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <asp:TextBox ID="txtDemeritDrivername3" MaxLength="50" onblur="CheckDriver3Validation();"
                                                                runat="server"></asp:TextBox>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtTotalpoints3" runat="server" MaxLength="2"></asp:TextBox>
                                                        </td>
                                                        <td>
                                                            <uc2:usrDate ID="ddlDODemerit3" ErrorMessage="" runat="server" ValidationGroup="proposal">
                                                            </uc2:usrDate>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtOffencetype3" runat="server" MaxLength="100"></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <asp:TextBox ID="txtDemeritDrivername4" MaxLength="50" onblur="CheckDriver4Validation();"
                                                                runat="server"></asp:TextBox>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtTotalpoints4" runat="server" MaxLength="2"></asp:TextBox>
                                                        </td>
                                                        <td>
                                                            <uc2:usrDate ID="ddlDODemerit4" ErrorMessage="" runat="server" ValidationGroup="proposal">
                                                            </uc2:usrDate>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtOffencetype4" runat="server" MaxLength="100"></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <asp:TextBox ID="txtDemeritDrivername5" MaxLength="50" onblur="CheckDriver5Validation();"
                                                                runat="server"></asp:TextBox>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtTotalpoints5" runat="server" MaxLength="2"></asp:TextBox>
                                                        </td>
                                                        <td>
                                                            <uc2:usrDate ID="ddlDODemerit5" ErrorMessage="" runat="server" ValidationGroup="proposal">
                                                            </uc2:usrDate>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtOffencetype5" runat="server" MaxLength="100"></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <asp:TextBox ID="txtDemeritDrivername6" MaxLength="50" onblur="CheckDriver6Validation();"
                                                                runat="server"></asp:TextBox>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtTotalpoints6" runat="server" MaxLength="2"></asp:TextBox>
                                                        </td>
                                                        <td>
                                                            <uc2:usrDate ID="ddlDODemerit6" ErrorMessage="" runat="server" ValidationGroup="proposal">
                                                            </uc2:usrDate>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtOffencetype6" runat="server" MaxLength="100"></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                            <div class="w220 left pad_20_10x">
                                                &nbsp;
                                            </div>
                                        </div>
                                    </div>
                                    <div class="bottom"></div>
                                </div>
                                <div class="seperator"></div>
                                <script type="text/javascript">
                                    IncreaseProgress(80);
                                </script>
                                <div class="hilite" id="divPreviousInsuranceHeader">
                                    <div class="top"></div>
                                    <div class="body_in pad_15x" id="divPreviousInsurance">
                                        <h1>Details of Previous Insurance</h1>
                                        <div class="seperator"></div>
                                        For the purpose of NCD confirmation, please advise on: 
                                        <div class="seperator"></div>
                                        <div>
                                            <%--<div id="divExistingInsurerstatus">
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Do you have any motor vehicle insurance?:</div>
                                                <div class="left pad_10yr">
                                                    <span id="divYesExistingInsurer">
                                                        <asp:RadioButton onclick="ShowHideDiv('divExistingInsurer',true);ValExistingInsurer(true);CheckExistingInsurerValidationCss();"
                                                            ID="rdoYesExistingInsurer" runat="server" GroupName="existinginsurer" />
                                                        <asp:Label ID="lblYesExistingInsurer"  class="pad_10xr" runat="server" Text="Yes"></asp:Label>
                                                    </span>
                                                    <span id="divNoExistingInsurer">
                                                        <asp:RadioButton onclick="ShowHideDiv('divExistingInsurer',false);ValExistingInsurer(false);CheckExistingInsurerValidationCss();"
                                                            ID="rdoNoExistingInsurer" runat="server" GroupName="existinginsurer" />
                                                        <asp:Label ID="lblNoExistingInsurer" runat="server" Text="No"></asp:Label>
                                                    </span>
                                                    <div style="display: none">
                                                        <asp:TextBox ID="txtExistingInsurer" runat="server"></asp:TextBox>
                                                    </div>
                                                    <asp:RequiredFieldValidator ID="rfvExistingInsurer" runat="server" CssClass="validationErrorControl"
                                                        Display="Dynamic" ErrorMessage="" ControlToValidate="txtExistingInsurer" ValidationGroup="proposal"
                                                        Text=""></asp:RequiredFieldValidator>
                                                </div>
                                            </div>--%>
                                            <div id="divInsuranceCompany">                                            
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Existing Insurer:</div>
                                                <div class="left">
                                                    <asp:DropDownList ID="ddlExistingInsurerName" Width="300px" runat="server" onchange="javascript:if (this.value != '177') { ShowHideDiv('divExistingInsurer',true); }ShowInsurerStatus();">
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator ID="rfvExistingInsurerName" ControlToValidate="ddlExistingInsurerName"
                                                        CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                        Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                            <div id="divExistingInsurer" style="display: ;">
                                                <div class="h10"></div>
                                                <%--<div id="divInsuranceCompany">                                            
                                                    <div class="w220 left align_right pad_6t pad_7xr">
                                                        <span class="red">*</span> Existing Insurer:</div>
                                                    <div class="left">
                                                        <asp:DropDownList ID="ddlExistingInsurerName" Width="300px" runat="server">
                                                        </asp:DropDownList>
                                                        <asp:RequiredFieldValidator ID="rfvExistingInsurerName" ControlToValidate="ddlExistingInsurerName"
                                                            CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                            Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                    </div>
                                                </div>
                                                <div class="h10"></div>--%>
                                                <div id="divInsRegnNo">
                                                    <div class="w220 left align_right pad_6t pad_7xr">
                                                        <span class="red">*</span>Regn. No:</div>
                                                    <div class="left">
                                                        <asp:TextBox ID="txtInsRegisterNo" runat="server" MaxLength="25"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="rfvInsRegisterNo" runat="server" CssClass="validationErrorControl"
                                                            ErrorMessage="" ValidationGroup="proposal" ControlToValidate="txtInsRegisterNo"
                                                            Display="Dynamic"></asp:RequiredFieldValidator>
                                                    </div>
                                                </div>
                                                <div class="h10"></div>
                                                <div id="divExistNCD">
                                                    <div class="w220 left align_right pad_6t pad_7xr">
                                                        <span class="red">*</span> NCD:</div>
                                                    <div class="left">
                                                        <asp:DropDownList ID="ddlExistNCD" runat="server">
                                                            <asp:ListItem Value="-1">Select</asp:ListItem>
                                                            <asp:ListItem Value="0">0</asp:ListItem>
                                                            <asp:ListItem Value="10">10</asp:ListItem>
                                                            <asp:ListItem Value="20">20</asp:ListItem>
                                                            <asp:ListItem Value="30">30</asp:ListItem>
                                                            <asp:ListItem Value="40">40</asp:ListItem>
                                                            <asp:ListItem Value="50">50</asp:ListItem>
                                                        </asp:DropDownList>
                                                        <asp:RequiredFieldValidator ID="rfvExistNCD" ControlToValidate="ddlExistNCD"
                                                        CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                        Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                    </div>
                                                </div>
                                                <div class="h10"></div>
                                                <div id="divInsPolicyNo">
                                                    <div class="w220 left align_right pad_6t pad_7xr">
                                                        <span class="red">*</span> Policy No:</div>
                                                    <div class="left">
                                                        <asp:TextBox ID="txtInsPolicyNo" runat="server" MaxLength="25"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="rfvInsPolicyNo" runat="server" CssClass="validationErrorControl"
                                                            ErrorMessage="" ValidationGroup="proposal" ControlToValidate="txtInsPolicyNo" Display="Dynamic"></asp:RequiredFieldValidator>
                                                    </div>
                                                </div>
                                                <div class="h10"></div>
                                                <div id="divInsCanceldate">
                                                    <div class="w220 left align_right pad_6t pad_7xr">
                                                        <span class="red">*</span> Expiry / Cancellation Date:</div>
                                                    <div class="left">
                                                        <uc2:usrDate ID="ddlDOCancellation" ErrorMessage="" runat="server" ValidationGroup="proposal" />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="bottom"></div>
                                </div>
                                <div class="seperator"></div>
                                <div class="norm" id="divDeclarationHeader">      
                                    <div class="top"></div>
                                    <div class="body" id="divDeclaration">
                                        <div class="pad_15x">
                                            <h1>Declaration</h1>
                                            <div class="seperator"></div>
                                            <p>Please check your proposal carefully before signing the declaration below. This is especially important if the 
                                            proposal is not completed in your own hand.</p><br />
             
                                            <p>I declare to the best of my knowledge and belief that:</p>

                                            <p>(a) all the answers given in this Proposal are true;</p>

                                            <p>(b) all materials facts/information affecting the assessment of the risk have been disclosed;</p>

                                            <p>(c) all persons proposed are in good health and free from any physical defect or infirmity.
                                            <img id='imgDeclaration' alt="Click to show/hide More Info" border="0" src="../../images/icons/sort_down.GIF"
                                                    onclick="showhide('divMoredeclare');" /></p><br />
         
                                            <div id="divMoredeclare" style="display: ">
                                                <p>I agree that this Proposal and Declaration shall be the basis of the contract between me and 
                                                Royal & Sun Alliance Insurance Plc (Singapore Branch) and shall be deemed to be incorporated in such
                                                contract, subject to the terms and conditions of the policy. No insurance will be in force until this Proposal
                                                has been accepted by Royal & Sun Alliance Insurance Plc (Singapore Branch).</p><br />
                                                <p>I undertake the car to be insured is and will be kept in good condition, and will not be driven by any
                                                one who to my knowledge has been refused motor vehicle insurance or continuance thereof.</p><br />
                                                <p>If this proposal was not completed by me personally, I declare also that I have read the completed form
                                                carefully and will accept full responsibility for the answers.</p><br />
                                                <p>I agree to give my concent to Royal & Sun Alliance Insurance Plc (Singapore Branch) to verify the information 
                                                provided in the Proposal with the relevant parties.</p>
                                            </div> 
                                            <div class="seperator"></div>                                            

                                            <asp:CheckBox onclick="CheckAgreed()" ID="chkAgreed" runat="server" Text="" />
                                            <span><b>I agree to the above statement.</b></span> 
                                            <span>
                                                <asp:RequiredFieldValidator ControlToValidate="txtAgreed" ID="rfvAgreed" runat="server"
                                                    CssClass="validationErrorControl" ErrorMessage="You must agree to the Declaration & Authorization below."
                                                    Text="You must agree to the Declaration & Authorization." ValidationGroup="proposal"></asp:RequiredFieldValidator>
                                            </span>
                                            <div style="display: none">
                                                <asp:TextBox ID="txtAgreed" runat="server" />

                                                <script type="text/javascript">
                                                    function CheckAgreed() {
                                                        var ctrlTxt = document.getElementById('<%=txtAgreed.ClientID%>');
                                                        var ctrlY = document.getElementById('<%=chkAgreed.ClientID%>');
                                                        var valCtrl = document.getElementById('<%=rfvAgreed.ClientID%>');
                                                        if (ctrlY.checked == true) {
                                                            ctrlTxt.value = '1';
                                                            valCtrl.style.visibility = 'hidden';
                                                            //ShowHideDiv('divPaymentMode', true);
                                                            }
                                                        else {
                                                            ctrlTxt.value = '';
                                                            //ShowHideDiv('divPaymentMode', false);

                                                        }
                                                    }
                                                </script>
                                            </div>                   
                                        </div>
                                    </div>
                                    <div class="bottom"></div>                                    
                                </div>
                                <div class="seperator"></div>
                                <div class="hilite" style="display: " id="divPaymentMode">
                                    <div class="top"></div>
                                    <div class="body_in pad_15x" id="divPaymentModeHeader">
                                        <h1>Payment Mode</h1>
                                        <div class="seperator"></div>
                                        I / We authorised <b>Royal & Sun Alliance Insurance Plc(Singapore Branch)</b> to debit the premium
                                        amount due in connection with above insurance policy to my nominated Credit Card
                                        Account. Where a third party Credit Card is used, I declared that the cardholder
                                        has authorised and consented to its use.
                                        <div class="seperator"></div>
                                        <div>
                                            <div id="divNameoftheCard">
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Cardholder's Name:</div>
                                                <div class="left">
                                                    <asp:TextBox ID="txtNameoftheCard" runat="server" MaxLength="50"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfvNameoftheCard" ControlToValidate="txtNameoftheCard"
                                                        ErrorMessage="" ValidationGroup="proposal" CssClass="validationErrorControl"
                                                        runat="server"></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                            <div id="divIssuingBank">                                            
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Issuing Bank:</div>
                                                <div class="left">
                                                    <asp:TextBox ID="txtIssuingBank" runat="server" MaxLength="50"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfvIssuingBank" ControlToValidate="txtIssuingBank"
                                                        ErrorMessage="" ValidationGroup="proposal" CssClass="validationErrorControl"
                                                        runat="server"></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                            <div id="divCardNo">
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Credit Card Number:</div>
                                                <div class="left">
                                                    <asp:TextBox ID="txtCardNo1" runat="server" size="8"></asp:TextBox>
                                                    <asp:TextBox ID="txtCardNo2" runat="server" size="8"></asp:TextBox>
                                                    <asp:TextBox ID="txtCardNo3" runat="server" size="8"></asp:TextBox>
                                                    <asp:TextBox ID="txtCardNo4" runat="server" size="8"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfvCardNo1" ControlToValidate="txtCardNo1" ErrorMessage=""
                                                        ValidationGroup="proposal" CssClass="validationErrorControl" runat="server"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator ID="revCardNo1" runat="server" CssClass="validationErrorControl"
                                                        ErrorMessage="" ValidationGroup="proposal" ValidationExpression="[0-9]{4}" ControlToValidate="txtCardNo1"></asp:RegularExpressionValidator>
                                                    <asp:RequiredFieldValidator ID="rfvCardNo2" ControlToValidate="txtCardNo2" ErrorMessage=""
                                                        ValidationGroup="proposal" CssClass="validationErrorControl" runat="server"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator ID="revCardNo2" runat="server" CssClass="validationErrorControl"
                                                        ErrorMessage="" ValidationGroup="proposal" ValidationExpression="[0-9]{4}" ControlToValidate="txtCardNo2"></asp:RegularExpressionValidator>
                                                    <asp:RequiredFieldValidator ID="rfvCardNo3" ControlToValidate="txtCardNo3" ErrorMessage=""
                                                        ValidationGroup="proposal" CssClass="validationErrorControl" runat="server"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator ID="revCardNo3" runat="server" CssClass="validationErrorControl"
                                                        ErrorMessage="" ValidationGroup="proposal" ValidationExpression="[0-9]{4}" ControlToValidate="txtCardNo3"></asp:RegularExpressionValidator>
                                                    <asp:RequiredFieldValidator ID="rfvCardNo4" ControlToValidate="txtCardNo4" ErrorMessage=""
                                                        ValidationGroup="proposal" CssClass="validationErrorControl" runat="server"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator ID="revCardNo4" runat="server" CssClass="validationErrorControl"
                                                        ErrorMessage="" ValidationGroup="proposal" ValidationExpression="[0-9]{4}" ControlToValidate="txtCardNo4"></asp:RegularExpressionValidator>
                                                    <div style="clear: both">
                                                        <asp:CustomValidator CssClass="validationErrorControl" ControlToValidate="txtCreditCardValid"
                                                            ValidationGroup="proposal" ID="csvCreditCardValid" runat="server" ErrorMessage="Credit Card number not valid."
                                                            Text="" OnServerValidate="csvCreditCardValid_ServerValidate"></asp:CustomValidator>
                                                    </div>
                                                    <div style="display: none">
                                                        <asp:TextBox ID="txtCreditCardValid" Text="Valid" runat="server"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                            <div id="divCardExpiry">
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Card Expiry Date:</div>
                                                <div class="left">
                                                    <asp:DropDownList ID="ddlCardExpiryMonth" runat="server">
                                                        <asp:ListItem Selected="True" Value="-1">mm</asp:ListItem>
                                                        <asp:ListItem Value="01">01</asp:ListItem>
                                                        <asp:ListItem Value="02">02</asp:ListItem>
                                                        <asp:ListItem Value="03">03</asp:ListItem>
                                                        <asp:ListItem Value="04">04</asp:ListItem>
                                                        <asp:ListItem Value="05">05</asp:ListItem>
                                                        <asp:ListItem Value="06">06</asp:ListItem>
                                                        <asp:ListItem Value="07">07</asp:ListItem>
                                                        <asp:ListItem Value="08">08</asp:ListItem>
                                                        <asp:ListItem Value="09">09</asp:ListItem>
                                                        <asp:ListItem Value="10">10</asp:ListItem>
                                                        <asp:ListItem Value="11">11</asp:ListItem>
                                                        <asp:ListItem Value="12">12</asp:ListItem>
                                                    </asp:DropDownList>
                                                    <asp:DropDownList ID="ddlCardExpiryYear" runat="server">
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator ID="rfvCardExpiryMonth" ControlToValidate="ddlCardExpiryMonth"
                                                        ErrorMessage="" ValidationGroup="proposal" InitialValue="-1" Text="" CssClass="validationErrorControl"
                                                        runat="server"></asp:RequiredFieldValidator>
                                                    <asp:RequiredFieldValidator ID="rfvCardExpiryYear" ControlToValidate="ddlCardExpiryYear"
                                                        ErrorMessage="" ValidationGroup="proposal" InitialValue="-1" Text="" CssClass="validationErrorControl"
                                                        runat="server"></asp:RequiredFieldValidator>
                                                    <asp:CustomValidator CssClass="validationErrorControl" ControlToValidate="txtCCExpiredValid"
                                                        ValidationGroup="proposal" ID="csvCCExpiredValid" runat="server" ErrorMessage="Credit Card expire not valid."
                                                        Text="" OnServerValidate="csvCCExpiredValid_ServerValidate"></asp:CustomValidator>
                                                    <span style="display: none">
                                                        <asp:TextBox ID="txtCCExpiredValid" Text="Valid" runat="server"></asp:TextBox>
                                                    </span>
                                                </div>
                                            </div>
                                            <div class="h10"></div>
                                            <div id="divCardType">
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Card Type:</div>
                                                <div class="left">
                                                    <span id="divVisa">
                                                        <asp:RadioButton onclick="ValCheckCardType();CheckCardTypeValidationCss();" ID="rdoVisa"
                                                            runat="server" GroupName="cardtype" />&nbsp;
                                                        <asp:Label ID="lblVisa" runat="server" Text="VISA"></asp:Label>
                                                    </span>
                                                    <span>&nbsp;&nbsp;</span>
                                                    <span id="divMasterCard">
                                                        <asp:RadioButton onclick="ValCheckCardType();CheckCardTypeValidationCss();" ID="rdoMasterCard"
                                                            runat="server" GroupName="cardtype" />&nbsp;
                                                        <asp:Label ID="lblMasterCard" runat="server" Text="MasterCard"></asp:Label>
                                                    </span>
                                                    <span style="display: none">
                                                        <asp:TextBox ID="txtCardType" runat="server"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="rfvCardType" runat="server" CssClass="validationErrorControl"
                                                            Display="Dynamic" ErrorMessage="" ControlToValidate="txtCardType" ValidationGroup="proposal"
                                                            Text=""></asp:RequiredFieldValidator>
                                                    </span>
                                                    <div class="clear"></div>
                                                    <em class="note">(Only VISA or Master Credit Card is acceptable for premium payment)</em>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="seperator"></div>
                                        By submitting this proposal form, I am aware that any refund will be paid by cheque
                                        the Insured/Policyholder. <b>Royal & Sun Alliance Insurance Plc(Singapore Branch)</b> will consider
                                        all declared information as true and correct. This Credit Card payment is subject
                                        to the terms of the Credit Card Agreement.
                                    </div>
                                    <div class="bottom"></div>
                                </div>
                                <div class="seperator"></div>  
                                <div class="center align_center" id="divFormButtons">                                        
                                    <asp:ImageButton ID="ibtSubmit" OnClientClick="ShowHideDiv('divDeclaration',true);LoadValidationErrorCss();CheckOptionValidationCss();return SubmitConfirm();"
                                        runat="server" CssClass="button" ValidationGroup="proposal" ImageUrl="~/images/forms_proposal/button/submit.png" onclick="ibtSubmit_Click" />
                                        
                                    <asp:Label ID="lblMessage" runat="server" ForeColor="Red" class="img_align_right"></asp:Label>
                                    
                                    <div class="note">
                                        <img src="/images/forms_proposal/icon/warning.png" width="21" height="18" alt="Note"
                                            style="vertical-align: middle; padding-bottom: 3px" />
                                        <strong>Note</strong>, by clicking on the SUBMIT button you agree to our Website's
                                        <a href="/terms/">Terms &amp; Conditions</a>
                                    </div>
                                </div> 
                            </div>
                        </div>
                        <div class="bottom"></div>
                    </div>
                </div>
                <div class="seperator"></div>
            </div>
        </div>
    </div>
    <script type="text/javascript">
        IncreaseProgress(90);
    </script>
    <div id="footer">
        <div id="nav_bottom" class="pad_7t">
            <div class="left pad_8yr">
                <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/forms_proposal/button/back.png"
                    CausesValidation="False" CssClass="button" AlternateText="Go Previous Step" ToolTip="Go Back" OnClick="ibtnBack_Click" />
            </div>
            <div class="right pad_8yr">
                <a href="#" onClick="window.print()"><img src="/images/forms_proposal/button/print.png" alt="Print" /></a>
            </div>
        </div>
    </div>
    
    <script type="text/javascript">
        function ShowHideDiv(divName, varOnOff) 
        {
            if (varOnOff) {
                document.getElementById(divName).style.display = "";
            }
            else {
                document.getElementById(divName).style.display = "none";
            }
        }

        function ShowInsurerStatus() {
            var Insurer = document.getElementById('<%=ddlExistingInsurerName.ClientID%>').value;
            if (Insurer != '177') {
                ShowHideDiv('divExistingInsurer', true);
                //ValidatorEnable(ValExistingInsurer, true);
                ValidatorEnable(document.getElementById('<%=rfvExistingInsurerName.ClientID%>'), true);
                ValidatorEnable(document.getElementById('<%=rfvInsRegisterNo.ClientID%>'), true)
                ValidatorEnable(document.getElementById('<%=rfvExistNCD.ClientID%>'), true)
                ValidatorEnable(document.getElementById('<%=rfvInsPolicyNo.ClientID%>'), true);
                IsEnableDateValidation('<%=ddlDOCancellation.ClientID%>', true);
            }
            else {
                ShowHideDiv('divExistingInsurer', false);
                //ValidatorEnable(ValExistingInsurer, false);
                ValidatorEnable(document.getElementById('<%=rfvExistingInsurerName.ClientID%>'), true);
                ValidatorEnable(document.getElementById('<%=rfvInsRegisterNo.ClientID%>'), false)
                ValidatorEnable(document.getElementById('<%=rfvExistNCD.ClientID%>'), false)
                ValidatorEnable(document.getElementById('<%=rfvInsPolicyNo.ClientID%>'), false);
                IsEnableDateValidation('<%=ddlDOCancellation.ClientID%>', false);
            }
        }

        function CheckOptionValidationCss() {
            CheckVehicleStatusValidationCss();
            CheckPolicyRDCOptedValidationCss();
            CheckHirePurchaseValidationCss();
            CheckDrivingWestMalaysiaValidationCss();
            CheckVechicleModificationValidationCss();
            CheckMarketvalueValidationCss();
            CheckCarRentalExtensionValidationCss();
            CheckNCDProtectorValidationCss();
            CheckDealerWorkshopExtensionValidationCss();
            CheckSunRoofExtensionValidationCss();
            CheckMoonRoofExtensionValidationCss();
            CheckPurposeofuseValidationCss();
            CheckPhysicalinfirmValidationCss();
            CheckAccidentValidationCss();
            CheckTrafficValidationCss();
            CheckInsuranceterminatedValidationCss();
            CheckDermeritPointsValidationCss();
            //CheckExistingInsurerValidationCss();
            CheckCardTypeValidationCss();
        }

        function CheckValidationCss(divYes, divNo, ctrlText, valCtrl) 
        {
            ShowValidationEffectOption(divYes, divNo, ctrlText, valCtrl);
            return true;
        }

        //Vehicle Status
        function CheckVehicleStatusValidationCss() {
            CheckValidationCss('divNew', 'divUsed', '<%=txtVehicleStatus.ClientID%>', '<%=rfvVehicleStatus.ClientID%>');
        }

        function ValVehicleStatus() {
            var txtCtrl = document.getElementById("<%=txtVehicleStatus.ClientID%>");
            txtCtrl.value = "1";
        }

        //PolicyRDCOpted
        function CheckPolicyRDCOptedValidationCss() {
            CheckValidationCss('divYesPolicyRDCOpted', 'divNoPolicyRDCOpted', '<%=txtPolicyRDCOpted.ClientID%>', '<%=rfvPolicyRDCOpted.ClientID%>');
        }

        function ValPolicyRDCOpted() {
            var txtCtrl = document.getElementById("<%=txtPolicyRDCOpted.ClientID%>");
            txtCtrl.value = "1";
        }
        
        //Hire Purchase
        function CheckHirePurchaseValidationCss() {
            CheckValidationCss('divYesHirePurchase', 'divNoHirePurchase', '<%=txtHirePurchase.ClientID%>', '<%=rfvHirePurchase.ClientID%>');
        }

        function ValHirePurchase(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtHirePurchase.ClientID%>");
            txtCtrl.value = "1";

            ValidatorEnable(document.getElementById('<%=rfvHirePurchaseCompany.ClientID%>'), varOnOff);
        }

        //Drive West Malaysia
        function CheckDrivingWestMalaysiaValidationCss() {
            CheckValidationCss('divYesDrivingWestMalaysia', 'divNoDrivingWestMalaysia', '<%=txtDrivingWestMalaysia.ClientID%>', '<%=rfvDrivingWestMalaysia.ClientID%>');
        }

        function ValDrivingWestMalaysia(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtDrivingWestMalaysia.ClientID%>");
            txtCtrl.value = "1";

            ValidatorEnable(document.getElementById('<%=rfvDrivetowestmalaysia.ClientID%>'), varOnOff);
        }

        //Vehicle Modification
        function CheckVechicleModificationValidationCss() {
            CheckValidationCss('divYesVechicleModification', 'divNoVechicleModification', '<%=txtVechicleModification.ClientID%>', '<%=rfvVechicleModification.ClientID%>');
        }

        function ValVechicleModification(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtVechicleModification.ClientID%>");
            txtCtrl.value = "1";

            ValidatorEnable(document.getElementById('<%=rfvVMReason.ClientID%>'), varOnOff);
        }

        //Market Value
        function CheckMarketvalueValidationCss() {
            CheckValidationCss('divYesCOE', 'divNoCOE', '<%=txtMarketvalue.ClientID%>', '<%=rfvMarketvalue.ClientID%>');
        }

        function ValMarketvalue() {
            var txtCtrl = document.getElementById("<%=txtMarketvalue.ClientID%>");
            txtCtrl.value = "1";
        }

        //CarRentalExtension
        function CheckCarRentalExtensionValidationCss() {
            CheckValidationCss('divYesCarRentalExtension', 'divNoCarRentalExtension', '<%=txtCarRentalExtension.ClientID%>', '<%=rfvCarRentalExtension.ClientID%>');
        }

        function ValCarRentalExtension(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtCarRentalExtension.ClientID%>");
            txtCtrl.value = "1";

            ValidatorEnable(document.getElementById('<%=rfvCarRentalExtension.ClientID%>'), varOnOff);
        }

        //NCDProtector
        function CheckNCDProtectorValidationCss() {
            CheckValidationCss('divYesNCDProtector', 'divNoNCDProtector', '<%=txtNCDProtector.ClientID%>', '<%=rfvNCDProtector.ClientID%>');
        }

        function ValNCDProtector(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtNCDProtector.ClientID%>");
            txtCtrl.value = "1";

            ValidatorEnable(document.getElementById('<%=rfvNCDProtector.ClientID%>'), varOnOff);
        }

        function SetPremiumValue() {

            if (document.getElementById('<%=rdoYesCarRentalExtension.ClientID%>').checked == true && document.getElementById('<%=rdoYesNCDProtector.ClientID%>').checked == true) {
                ShowHideDiv('divPremiumRates', true);
                ShowHideDiv('divPremium1', true);
                ShowHideDiv('divPremium2', false);
                ShowHideDiv('divPremium3', false);
            }
            else if (document.getElementById('<%=rdoYesCarRentalExtension.ClientID%>').checked == true && document.getElementById('<%=rdoYesNCDProtector.ClientID%>').checked == false) {
                ShowHideDiv('divPremiumRates', true);
                ShowHideDiv('divPremium1', false);
                ShowHideDiv('divPremium2', true);
                ShowHideDiv('divPremium3', false);
            }
            else if (document.getElementById('<%=rdoYesCarRentalExtension.ClientID%>').checked == false && document.getElementById('<%=rdoYesNCDProtector.ClientID%>').checked == true) {
                ShowHideDiv('divPremiumRates', true);
                ShowHideDiv('divPremium1', false);
                ShowHideDiv('divPremium2', false);
                ShowHideDiv('divPremium3', true);
            }
            else
            {
                ShowHideDiv('divPremiumRates', false); 
                ShowHideDiv('divPremium1', false);
                ShowHideDiv('divPremium2', false);
                ShowHideDiv('divPremium3', false);
            }

        }

        //DealerWorkshopExtension
        function CheckDealerWorkshopExtensionValidationCss() {
            CheckValidationCss('divYesDealerWorkshopExtension', 'divNoDealerWorkshopExtension', '<%=txtDealerWorkshopExtension.ClientID%>', '<%=rfvDealerWorkshopExtension.ClientID%>');
        }

        function ValDealerWorkshopExtension() {
            var txtCtrl = document.getElementById("<%=txtDealerWorkshopExtension.ClientID%>");
            txtCtrl.value = "1";
        }

        //SunRoofExtension
        function CheckSunRoofExtensionValidationCss() {
            CheckValidationCss('divYesSunRoofExtension', 'divNoSunRoofExtension', '<%=txtSunRoofExtension.ClientID%>', '<%=rfvSunRoofExtension.ClientID%>');
        }

        function ValSunRoofExtension(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtSunRoofExtension.ClientID%>");
            txtCtrl.value = "1";

            ValidatorEnable(document.getElementById('<%=rfvSunroofExtenAmt.ClientID%>'), varOnOff);
            ValidatorEnable(document.getElementById('<%=revSunroofExtenAmt.ClientID%>'), varOnOff);
        }

        //MoonRoofExtension
        function CheckMoonRoofExtensionValidationCss() {
            CheckValidationCss('divYesMoonRoofExtension', 'divNoMoonRoofExtension', '<%=txtMoonRoofExtension.ClientID%>', '<%=rfvMoonRoofExtension.ClientID%>');
        }

        function ValMoonRoofExtension(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtMoonRoofExtension.ClientID%>");
            txtCtrl.value = "1";

            ValidatorEnable(document.getElementById('<%=rfvMoonroofExtenAmt.ClientID%>'), varOnOff);
            ValidatorEnable(document.getElementById('<%=revMoonroofExtenAmt.ClientID%>'), varOnOff);
        }

        //Purpose of Use
        function CheckPurposeofuseValidationCss() {
            CheckValidationCss('divYesPurposeofuse', 'divNoPurposeofuse', '<%=txtPurposeofuse.ClientID%>', '<%=rfvPurposeofuse.ClientID%>');
        }

        function ValPurposeofuse() {
            var txtCtrl = document.getElementById("<%=txtPurposeofuse.ClientID%>");
            txtCtrl.value = "1";
        }

        //Physical Infirm
        function CheckPhysicalinfirmValidationCss() {
            CheckValidationCss('divYesPhysicalinfirm', 'divNoPhysicalinfirm', '<%=txtPhysicalinfirm.ClientID%>', '<%=rfvPhysicalinfirm.ClientID%>');
        }

        function ValPhysicalinfirm(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtPhysicalinfirm.ClientID%>");
            txtCtrl.value = "1";

            ValidatorEnable(document.getElementById('<%=rfvPIReason.ClientID%>'), varOnOff);
        }

        //Accident Involved
        function CheckAccidentValidationCss() {
            CheckValidationCss('divYesAccident', 'divNoAccident', '<%=txtAccident.ClientID%>', '<%=rfvAccident.ClientID%>');
        }

        function ValAccident(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtAccident.ClientID%>");
            txtCtrl.value = "1";

            ValidatorEnable(document.getElementById('<%=rfvAIReason.ClientID%>'), varOnOff);
        }

        //Traffic convicted
        function CheckTrafficValidationCss() {
            CheckValidationCss('divYesTraffic', 'divNoTraffic', '<%=txtTraffic.ClientID%>', '<%=rfvTraffic.ClientID%>');
        }

        function ValTraffic(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtTraffic.ClientID%>");
            txtCtrl.value = "1";

            ValidatorEnable(document.getElementById('<%=rfvTCReason.ClientID%>'), varOnOff);
        }

        //Insurance Terminated
        function CheckInsuranceterminatedValidationCss() {
            CheckValidationCss('divYesInsuranceterminated', 'divNoInsuranceterminated', '<%=txtInsuranceterminated.ClientID%>', '<%=rfvInsuranceterminated.ClientID%>');
        }

        function ValInsuranceterminated(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtInsuranceterminated.ClientID%>");
            txtCtrl.value = "1";

            ValidatorEnable(document.getElementById('<%=rfvITReason.ClientID%>'), varOnOff);
        }

        //Dermerit Points
        function CheckDermeritPointsValidationCss() {
            CheckValidationCss('divYesDermeritPoints', 'divNoDermeritPoints', '<%=txtDermeritPoints.ClientID%>', '<%=rfvDermeritPoints.ClientID%>');
        }

        function ValDermeritPoints(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtDermeritPoints.ClientID%>");
            txtCtrl.value = "1";

            ValidatorEnable(document.getElementById('<%=rfvDemeritDrivername1.ClientID%>'), varOnOff);
            ValidatorEnable(document.getElementById('<%=rfvTotalpoints1.ClientID%>'), varOnOff);
            IsEnableDateValidation('<%=ddlDODemerit1.ClientID%>', varOnOff);
            ValidatorEnable(document.getElementById('<%=rfvOffencetype1.ClientID%>'), varOnOff);
            CheckDriver2Validation();
            CheckDriver3Validation();
            CheckDriver4Validation();
            CheckDriver5Validation();
            CheckDriver6Validation();
        }

        //Existing Insurer
//        function CheckExistingInsurerValidationCss() {
//            CheckValidationCss('divYesExistingInsurer', 'divNoExistingInsurer', '<=txtExistingInsurer.ClientID>', '<=rfvExistingInsurer.ClientID>');
//        }

        function ValExistingInsurer(varOnOff) {
            //var txtCtrl = document.getElementById("<=txtExistingInsurer.ClientID>");
            //txtCtrl.value = "1";

            ValidatorEnable(document.getElementById('<%=rfvExistingInsurerName.ClientID%>'), true);
            ValidatorEnable(document.getElementById('<%=rfvInsRegisterNo.ClientID%>'), varOnOff)
            ValidatorEnable(document.getElementById('<%=rfvExistNCD.ClientID%>'), varOnOff)
            ValidatorEnable(document.getElementById('<%=rfvInsPolicyNo.ClientID%>'), varOnOff);
            IsEnableDateValidation('<%=ddlDOCancellation.ClientID%>', varOnOff);
        }

        //Payment Mode
        function CheckCardTypeValidationCss() {
            CheckValidationCss('divVisa', 'divMasterCard', '<%=txtCardType.ClientID%>', '<%=rfvCardType.ClientID%>');
        }

        function ValCheckCardType(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtCardType.ClientID%>");
            txtCtrl.value = "1";
        }

        function CheckDriver1Validation() {
            var txtDriver = document.getElementById('<%=txtDemeritDrivername1.ClientID%>');
            //alert(txtDriver.value.length);
            if (txtDriver.value.length > 0)
                IsEnableDateValidation('<%=ddlDODemerit1.ClientID%>', true);
            else
                IsEnableDateValidation('<%=ddlDODemerit1.ClientID%>', false);
        }

        function CheckDriver2Validation() {
            var txtDriver = document.getElementById('<%=txtDemeritDrivername2.ClientID%>');
            //alert(txtDriver.value.length);
            if (txtDriver.value.length > 0)
                IsEnableDateValidation('<%=ddlDODemerit2.ClientID%>', true);
            else
                IsEnableDateValidation('<%=ddlDODemerit2.ClientID%>', false);
        }

        function CheckDriver3Validation() {
            var txtDriver = document.getElementById('<%=txtDemeritDrivername3.ClientID%>');
            if (txtDriver.value.length > 0)
                IsEnableDateValidation('<%=ddlDODemerit3.ClientID%>', true);
            else
                IsEnableDateValidation('<%=ddlDODemerit3.ClientID%>', false);
        }

        function CheckDriver4Validation() {
            var txtDriver = document.getElementById('<%=txtDemeritDrivername4.ClientID%>');
            if (txtDriver.value.length > 0)
                IsEnableDateValidation('<%=ddlDODemerit4.ClientID%>', true);
            else
                IsEnableDateValidation('<%=ddlDODemerit4.ClientID%>', false);
        }

        function CheckDriver5Validation() {
            var txtDriver = document.getElementById('<%=txtDemeritDrivername5.ClientID%>');
            if (txtDriver.value.length > 0)
                IsEnableDateValidation('<%=ddlDODemerit5.ClientID%>', true);
            else
                IsEnableDateValidation('<%=ddlDODemerit5.ClientID%>', false);
        }

        function CheckDriver6Validation() {
            var txtDriver = document.getElementById('<%=txtDemeritDrivername6.ClientID%>');
            if (txtDriver.value.length > 0)
                IsEnableDateValidation('<%=ddlDODemerit6.ClientID%>', true);
            else
                IsEnableDateValidation('<%=ddlDODemerit6.ClientID%>', false);
        }

        function showhide(el) {

            el = document.getElementById(el);
            el.style.display = (el.style.display == "none") ? "block" : "none";

        }

        window.onload = function() {
            //showhide('divQuoteSummery');
            //showhide('divParticularsofCar');
            showhide('divHirePurchase');
            showhide('divDrivingWestMalaysia');
            showhide('divVechicleModification');
            showhide('divSunroofExtension');
            showhide('divMoonroofExtension');
            //showhide('divGeneralQuestion');
            showhide('divPhysicalinfirm');
            showhide('divAccident');
            showhide('divTraffic');
            showhide('divInsuranceterminated');
            showhide('divDermeritPoints');
            //showhide('divPreviousInsurance');
            showhide('divExistingInsurer');
            showhide('divMoredeclare');
            //showhide('divPaymentMode');
            SetPremiumValue();

            //inputNCD
            //divNCDProtectorstatus
            ShowInsurerStatus();
            onloading();
        }

        function onloading() {
            if (document.getElementById('<%=inputClaim.ClientID%>').value == 'No') {
                ShowHideDiv('divClaimDetails', false);
                ValidatorEnable(document.getElementById('<%=rfvClaimODAmount.ClientID%>'), false);
                ValidatorEnable(document.getElementById('<%=revClaimODAmount.ClientID%>'), false);
                ValidatorEnable(document.getElementById('<%=rfvClaimTPPDAmount.ClientID%>'), false);
                ValidatorEnable(document.getElementById('<%=revClaimTPPDAmount.ClientID%>'), false);
            }
            else {
                ShowHideDiv('divClaimDetails', true);
                ValidatorEnable(document.getElementById('<%=rfvClaimODAmount.ClientID%>'), true);
                ValidatorEnable(document.getElementById('<%=revClaimODAmount.ClientID%>'), true);
                ValidatorEnable(document.getElementById('<%=rfvClaimTPPDAmount.ClientID%>'), true);
                ValidatorEnable(document.getElementById('<%=revClaimTPPDAmount.ClientID%>'), true);
            }

            if (document.getElementById('<%=inputNCD.ClientID%>').value == '50') {
                ShowHideDiv('divNCDProtectorstatus', true);
                ValNCDProtector(true); 
            }
            else {
                ShowHideDiv('divNCDProtectorstatus', false);
                ValNCDProtector(false); 
            }

            //Hire Purchase
            if (document.getElementById('<%=rdoYesHirePurchase.ClientID%>').checked == true) {
                ShowHideDiv('divHirePurchase', true);
                ValHirePurchase(true);
            }
            else if (document.getElementById('<%=rdoNoHirePurchase.ClientID%>').checked == true) {
                ShowHideDiv('divHirePurchase', false);
                ValHirePurchase(false);
            }
            else { ShowHideDiv('divHirePurchase', false); }

            //Drive to West Malaysia
            if (document.getElementById('<%=rdoYesDrivingWestMalaysia.ClientID%>').checked == true) {
                ShowHideDiv('divDrivingWestMalaysia', true);
                ValDrivingWestMalaysia(true);
            }
            else if (document.getElementById('<%=rdoNoDrivingWestMalaysia.ClientID%>').checked == true) {
                ShowHideDiv('divDrivingWestMalaysia', false);
                ValDrivingWestMalaysia(false);
            }
            else { ShowHideDiv('divDrivingWestMalaysia', false); }

            //Vehicle Modification
            if (document.getElementById('<%=rdoYesVechicleModification.ClientID%>').checked == true) {
                ShowHideDiv('divVechicleModification', true);
                ValVechicleModification(true);
            }
            else if (document.getElementById('<%=rdoNoVechicleModification.ClientID%>').checked == true) {
                ShowHideDiv('divVechicleModification', false);
                ValVechicleModification(false);
            }
            else { ShowHideDiv('divVechicleModification', false); }

            //Sunroof Extension
            if (document.getElementById('<%=rdoYesSunRoofExtension.ClientID%>').checked == true) {
                ShowHideDiv('divSunroofExtension', true);
                ValSunRoofExtension(true);
            }
            else if (document.getElementById('<%=rdoNoSunRoofExtension.ClientID%>').checked == true) {
                ShowHideDiv('divSunroofExtension', false);
                ValSunRoofExtension(false);
            }

            //Moonroof Extension
            if (document.getElementById('<%=rdoYesMoonRoofExtension.ClientID%>').checked == true) {
                ShowHideDiv('divMoonroofExtension', true);
                ValMoonRoofExtension(true);
            }
            else if (document.getElementById('<%=rdoNoMoonRoofExtension.ClientID%>').checked == true) {
                ShowHideDiv('divMoonroofExtension', false);
                ValMoonRoofExtension(false);
            }

            //Physical Infirm
            if (document.getElementById('<%=rdoYesPhysicalinfirm.ClientID%>').checked == true) {
                ShowHideDiv('divPhysicalinfirm', true);
                ValPhysicalinfirm(true);
            }
            else if (document.getElementById('<%=rdoNoPhysicalinfirm.ClientID%>').checked == true) {
                ShowHideDiv('divPhysicalinfirm', false);
                ValPhysicalinfirm(false);
            }
            else { ShowHideDiv('divPhysicalinfirm', false); }

            //Accident Involved
            if (document.getElementById('<%=rdoYesAccident.ClientID%>').checked == true) {
                ShowHideDiv('divAccident', true);
                ValAccident(true);
            }
            else if (document.getElementById('<%=rdoNoAccident.ClientID%>').checked == true) {
                ShowHideDiv('divAccident', false);
                ValAccident(false);
            }
            else { ShowHideDiv('divAccident', false); }

            //Traffic Convicted
            if (document.getElementById('<%=rdoYesTraffic.ClientID%>').checked == true) {
                ShowHideDiv('divTraffic', true);
                ValTraffic(true);
            }
            else if (document.getElementById('<%=rdoNoTraffic.ClientID%>').checked == true) {
                ShowHideDiv('divTraffic', false);
                ValTraffic(false);
            }
            else { ShowHideDiv('divTraffic', false); }

            //Insurance Terminated
            if (document.getElementById('<%=rdoYesInsuranceterminated.ClientID%>').checked == true) {
                ShowHideDiv('divInsuranceterminated', true);
                ValInsuranceterminated(true);
            }
            else if (document.getElementById('<%=rdoNoInsuranceterminated.ClientID%>').checked == true) {
                ShowHideDiv('divInsuranceterminated', false);
                ValInsuranceterminated(false);
            }
            else { ShowHideDiv('divInsuranceterminated', false); }

            //Dermerit Points
            if (document.getElementById('<%=rdoYesDermeritPoints.ClientID%>').checked == true) {
                ShowHideDiv('divDermeritPoints', true);
                ValDermeritPoints(true);
            }
            else if (document.getElementById('<%=rdoNoDermeritPoints.ClientID%>').checked == true) {
                ShowHideDiv('divDermeritPoints', false);
                ValDermeritPoints(false);
            }
            else { ShowHideDiv('divDermeritPoints', false); }

            //Existing Insurer
//            if (document.getElementById('<=rdoYesExistingInsurer.ClientID>').checked == true) {
//                ShowHideDiv('divExistingInsurer', true);
//                ValExistingInsurer(true);
//            }
//            else if (document.getElementById('<=rdoNoExistingInsurer.ClientID>').checked == true) {
//                ShowHideDiv('divExistingInsurer', false);
//                ValExistingInsurer(false);
//            }
//            else { ShowHideDiv('divExistingInsurer', false); }

            //Payment Mode
            if (document.getElementById('<%=txtCardType.ClientID%>').value == "1") {
                ShowHideDiv('divPaymentMode', true);
            }
            else { ShowHideDiv('divPaymentMode', false); }

        }

        function restrictToNumbers(e) {
            if ([e.keyCode || e.which] == 8 || [e.keyCode || e.which] == 37 || [e.keyCode || e.which] == 9 || [e.keyCode || e.which] == 39) //this is to allow backspace
                return true;

            if ([e.keyCode || e.which] < 48 || [e.keyCode || e.which] > 57)
                e.preventDefault ? e.preventDefault() : e.returnValue = false;
        }

        function requestByPostCode() {
            try {
                var _pcode = document.getElementById('<%=txtPostCode.ClientID%>').value;
                if (_pcode.length != 6) {
                    alert('Postal code length must be 6 numbers value.');
                    document.getElementById('<%=txtAddress.ClientID%>').value = '';
                    return false;
                }
                else {
                    requestData(_pcode);
                }
            }
            catch (e) {
                alert(e.toString());
            }
        }


        function set_data(json) 
        {
            try {
                var srcTable = $("#divAddress").empty();
                var txtAddress = document.getElementById('<%=txtAddress.ClientID%>');
                if (json == null) {
                    $("<table><tr><td>No address found!</td></tr></table>").appendTo(srcTable);
                    alert("No address found!");
                    document.getElementById('<%=txtPostCode.ClientID%>').value = "";
                    txtAddress.value = "No Address found.";
                    return;
                }
                if (json.length == 0) {
                    $("<table><tr><td>No address found!</td></tr></table>").appendTo(srcTable);
                    alert("No address found!");
                    document.getElementById('<%=txtPostCode.ClientID%>').value = "";
                    txtAddress.value = "No Address found.";
                    return;
                }

                var tbl = $("<table width='50%'>");

                var tbody = $("<tbody>");
                var no = 1;
                for (var i = 0; i < json.length; i++) {
                    var trow = $("<tr>"), rec = json[i];
                    if (rec.t != null) {

                        var ctn = rec.t + "<br>" + rec.a;

                        $("<td>").html(ctn).data("col", 2).appendTo(trow);
                        if (i == 0) {
                            txtAddress.value = rec.t + "\n" + rec.a;
                        }
                        else {
                            txtAddress.value += "\n\n" + rec.t + "\n" + rec.a;
                        }
                        no++;
                    }
                    trow.appendTo(tbody);
                }
                tbody.appendTo(tbl);
                tbl.appendTo(srcTable);
            }
            catch (e) {
                alert(e.toString());
            }
        }

        function PostCodeChange() 
        {
            document.getElementById('divAddress').innerHTML = "Your postcode changed.";
            document.getElementById('divAddress').style.display = 'none';
            document.getElementById('<%=txtAddress.ClientID%>').innerHTML = "Your postcode changed.";
        }
    </script>
        <script type="text/javascript">
            function SubmitConfirm() {
                var _retVal = false;
                if (Page_ClientValidate('proposal')) {
                    _retVal = confirm('By pressing the submit button, you authorise CompareXpress to send your personal information to the partipating merchant of your choice. You therefore exempt CompareXpress from any liability relating to the sharing of this information with our participating merchant.');
                }
                return _retVal;
            }
            IncreaseProgress(100);
            HideLoading();
    </script>
</asp:Content>
